frogger game revision
Dependencies: 4DGL-uLCD-SE MMA8452 SDFileSystem mbed wave_player
Fork of ECE2035_FroggerGame_SUM2015 by
Diff: robot/robot.cpp
- Revision:
- 7:b9b305de0fbb
- Parent:
- 6:5ed435a31cc7
- Child:
- 9:47f07aa85f1a
--- 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){