About My Piece of code!

Blitz3D Forums/Blitz3D Beginners Area/About My Piece of code!

Kaisuo: Your second problem is easy to solve - replace KeyDown with KeyHit. If you would rather be able to hold the key, set a timer which counts down (or up) and reset it every time the menu selection is changed. Example:
If KeyDown(200)
	timer = timer + 1
	If timer >= 20
		timer = 0
		menuarrow = menuarrow + 1
	EndIf
EndIf
As for your first dilemma: What you are seeing is everything which has been drawn to the buffer. When you draw to a buffer (front or backbuffer) it always remains unless you use a CLS command. Try filling the screen with graphics (using TileImage for example) or placing a Cls command into your code.