HTML

Blitz3D Forums/Blitz3D Programming/HTML

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.

Can any body give me a example for putting a button on a game?
Graphics 200,150,0,2
Repeat
	Cls
	Color 255,255,255
	Rect 50,50,100,50,0
	Text 100,75,"Exit",1,1
	Flip
	If MouseDown(1) And MouseX()>=50 And MouseX()<150 And MouseY()>=50 And MouseY()<100 Then Exit
Forever