Blitz Basic Tutorial Review

Cls

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 blitz basic tutorial

; Draw Scores Text 350, 20, p1_score Text 430, 20, p2_score Cls Type Player Field x, y Field health

Cls ; Clear the screen (paint it black)