![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test 1 doc
Sprites/Sprites.h@4:cf5088ace087, 2020-05-18 (annotated)
- Committer:
- joebarhouch
- Date:
- Mon May 18 18:46:13 2020 +0000
- Revision:
- 4:cf5088ace087
- Parent:
- 3:e4e1cbf750b6
- Child:
- 5:928c2eee4109
Implemented first map design
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joebarhouch | 3:e4e1cbf750b6 | 1 | |
joebarhouch | 3:e4e1cbf750b6 | 2 | int s_player[] = { |
joebarhouch | 3:e4e1cbf750b6 | 3 | 1,1,1,1,1,1,1,0,0, |
joebarhouch | 3:e4e1cbf750b6 | 4 | 1,1,1,1,1,1,1,0,0, |
joebarhouch | 3:e4e1cbf750b6 | 5 | 1,1,1,0,1,0,1,0,0, |
joebarhouch | 3:e4e1cbf750b6 | 6 | 1,1,1,0,1,0,1,1,1, |
joebarhouch | 3:e4e1cbf750b6 | 7 | 1,1,1,0,1,0,1,1,0, |
joebarhouch | 3:e4e1cbf750b6 | 8 | 1,1,1,1,1,1,1,0,0, |
joebarhouch | 3:e4e1cbf750b6 | 9 | 0,1,1,0,1,1,0,0,0, |
joebarhouch | 3:e4e1cbf750b6 | 10 | 0,1,1,0,1,1,0,0,0 |
joebarhouch | 3:e4e1cbf750b6 | 11 | }; |
joebarhouch | 3:e4e1cbf750b6 | 12 | |
joebarhouch | 3:e4e1cbf750b6 | 13 | |
joebarhouch | 3:e4e1cbf750b6 | 14 | int s_player_inv[] = { |
joebarhouch | 3:e4e1cbf750b6 | 15 | 0,0,1,1,1,1,1,1,1, |
joebarhouch | 3:e4e1cbf750b6 | 16 | 0,0,1,1,1,1,1,1,1, |
joebarhouch | 3:e4e1cbf750b6 | 17 | 0,0,1,0,1,0,1,1,1, |
joebarhouch | 3:e4e1cbf750b6 | 18 | 1,1,1,0,1,0,1,1,1, |
joebarhouch | 3:e4e1cbf750b6 | 19 | 0,1,1,0,1,0,1,1,1, |
joebarhouch | 3:e4e1cbf750b6 | 20 | 0,1,1,1,1,1,1,1,1, |
joebarhouch | 3:e4e1cbf750b6 | 21 | 0,0,0,1,1,0,1,1,0, |
joebarhouch | 3:e4e1cbf750b6 | 22 | 0,0,0,1,1,0,1,1,0 |
joebarhouch | 3:e4e1cbf750b6 | 23 | }; |
joebarhouch | 4:cf5088ace087 | 24 | |
joebarhouch | 4:cf5088ace087 | 25 | //maps |
joebarhouch | 4:cf5088ace087 | 26 | void draw_map1(N5110 &lcd){ |
joebarhouch | 4:cf5088ace087 | 27 | lcd.drawRect(0,11,25,3,FILL_TRANSPARENT); |
joebarhouch | 4:cf5088ace087 | 28 | lcd.drawRect(WIDTH - 25,11,25,3,FILL_TRANSPARENT); |
joebarhouch | 4:cf5088ace087 | 29 | lcd.drawRect(30,24,25,3,FILL_TRANSPARENT); |
joebarhouch | 4:cf5088ace087 | 30 | lcd.drawRect(0,37,25,3,FILL_TRANSPARENT); |
joebarhouch | 4:cf5088ace087 | 31 | lcd.drawRect(WIDTH - 25,37,25,3,FILL_TRANSPARENT); |
joebarhouch | 4:cf5088ace087 | 32 | }; |