frogger game
Dependencies: 4DGL-uLCD-SE MMA8452 SDFileSystem mbed wave_player
Fork of ECE2035_FroggerGame_SUM2015 by
Revision 7:b9b305de0fbb, committed 2015-07-05
- Comitter:
- ece2035ta
- Date:
- Sun Jul 05 23:47:50 2015 +0000
- Parent:
- 6:5ed435a31cc7
- Child:
- 8:1b6fc10c5cea
- Commit message:
- ECE 2035 Summer 2015
Changed in this revision
robot/robot.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/robot/robot.cpp Sun Jul 05 21:58:24 2015 +0000 +++ b/robot/robot.cpp Sun Jul 05 23:47:50 2015 +0000 @@ -21,12 +21,12 @@ int frog_y = grid_info.y + GRID_RADIUS; // MAKE - uLCD.filled_circle(frog_x, frog_y, 3, 0x909090); - uLCD.filled_rectangle(frog_x-3,frog_y+1,frog_x+3,frog_y+3,0x33FF66); + uLCD.filled_circle(frog_x, frog_y, 2, 0xCC0066); + uLCD.filled_rectangle(frog_x-2,frog_y+1,frog_x+2,frog_y+3,0x33FF66); uLCD.line(frog_x-1, frog_y+4,frog_x-1, frog_y+5, 0xFF0000);//legs uLCD.line(frog_x+2, frog_y+4,frog_x+2, frog_y+5, 0xFF0000); - uLCD.line(frog_x+4, frog_y+1,frog_x+5, frog_y+1, 0xFF0000);//hands - uLCD.line(frog_x-4, frog_y+1,frog_x-5, frog_y+1, 0xFF0000); + uLCD.line(frog_x+2, frog_y+1,frog_x+4, frog_y+1, 0xFF0000);//hands + uLCD.line(frog_x-2, frog_y+1,frog_x-4, frog_y+1, 0xFF0000); } void robot_clear(int grid_x, int grid_y){