Help

Blitz3D Forums/Blitz3D Programming/Help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If you replace your graphic mode setting to Graphics3D 640,480,16,2

The 2 on the end will force Blitz into Windowed mode - this will allow you to use your normal mouse cursor.

Where you create your 'Start Button' in your code, add in a line - EntityPickMode start,2

After While Not KeyDown(1) add:

If MouseHit(1)
	whatwaspicked=CameraPick(camera,MouseX(),MouseY())
EndIf 

If whatwaspicked=start
	End
EndIf 


You'll notice now that whenever you click your 'Start Bar' your program will end. Just replace END with whatever you want to do. I just chose End to demonstrate that it works.