Blitz Basic Tutorial Page
At the top of your code (before the loop), load the sound:
; Apply movement x = x + dx y = y + dy
; Draw the ball (Oval x, y, width, height, solid) Color 255, 0, 0 ; Set color to Red (R,G,B) Oval x, y, 32, 32, True blitz basic tutorial
Spoiler: It wasn't lying.
Type Player Field x, y Field health Field color_r, color_g, color_b End Type ; Create a new player me.Player = New Player me\x = 400 me\y = 300 me\health = 100 me\color_r = 0 me\color_g = 255 me\color_b = 0 At the top of your code (before the
To loop through all active players (useful for bullets or enemies), use For : load the sound:
Cls ; Clear the screen (paint it black)