Skip to content

Instantly share code, notes, and snippets.

@mudhairless
Created April 15, 2012 04:55
Show Gist options
  • Save mudhairless/2390152 to your computer and use it in GitHub Desktop.
Save mudhairless/2390152 to your computer and use it in GitHub Desktop.
'draw background
line (0,0)-(640,480),gfx.colors.orange,bf 'orange display area
line (0,32)-(372,62),gfx.colors.blue,bf 'brown-ish home
line (0,63)-(372,191),gfx.colors.blue,bf 'blue river
line (0,192)-(372,223),gfx.colors.forest_green,bf 'green safe spot
line (0,224)-(372,351),gfx.colors.grey,bf 'grey road
line (0,352)-(372,383),gfx.colors.forest_green,bf 'green start
line (0,384)-(372,415),gfx.colors.orange,bf 'orange display area
'lines on road
line (0,256)-(372,256),gfx.colors.yellow 'yellow lines
line (0,288)-(372,288),gfx.colors.yellow
line (0,320)-(372,320),gfx.colors.yellow
'display text
locate 2,1
color gfx.colors.black, gfx.colors.orange 'black text on orange bg
print " FROGGER GAME "
var backGround = imagecreate(640,480,0)
get (0,0)-(639,479),backGround
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment