Portable Game Console
PoGa-4DGL Reference Manual
© 2011 4D Systems
www.4dsystems.com.au
Page 58 of 87
#DATA
word demo_sprites
//1) Cherry
0x0000,0x0000, // line 1
0x0000,0x0000, // line 2
0x0000,0x0A00, // line 3 22
0x0000,0x0AA0, // line 4 2222
0x0000,0x008A, // line 5 22 2
0x8000,0x0080, // line 6 2 2
0x2540,0x0020, // line 7 1112 2
0x5950,0x0008, // line 8 111211 2
0x1550,0x0059, // line 9 11111 1211
0x45D0,0x0159, // line 10 1311 112111
0x4750,0x0155, // line 11 1131 111111
0x4540,0x0157, // line 12 111 131111
0x4000,0x015D, // line 13 113111
0x0000,0x0055, // line 14 1111
0x0000,0x0000, // line 15
0x0000,0x0000 // line 16
#END
#CONST
S_Cherry
#END
#DATA
word demo_colors
BLACK,
RED,
LIME,
WHITE
#END
#DATA
byte demo_palette
0,1,2,3 // BLACK, RED, LIME, WHITE (Cherry)
#END
#CONST
P_Cherry
#END
32 words defining the sprite image
pixel pairs for the Cherry image
A constant we can use to refer the
Cherry sprite
A list of all the colours used
in this sprite file
A list of all the palettes
used in this sprite file
A constant we can use to
refer the Cherry palette