Cls clears. Flip displays. If you forget Flip , you see nothing. If you forget Cls , you get a messy "light trail" effect. 3. Your First Moving Pixel (A Ball) Let’s make a red ball bounce across the screen. We need variables for position ( x ) and speed ( dx ).
; Show FPS or instructions Color 255, 255, 255 ; White text Text 10, 10, "X Position: " + x blitz basic tutorial
Now go make something. Beep the speaker. Bounce the ball. Cls clears
; --- Game logic goes here --- Text 10, 10, "Press Escape to quit" Show FPS or instructions Color 255
First, put a file called boop.wav in your project folder.