Game For ECE 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: graphics.cpp
- Revision:
- 4:37d3935365f8
- Parent:
- 0:35660d7952f7
- Child:
- 6:c9695079521d
--- a/graphics.cpp Mon Oct 28 05:26:35 2019 +0000 +++ b/graphics.cpp Tue Sep 28 13:52:11 2021 +0000 @@ -2,7 +2,13 @@ #include "globals.h" - +/* +In this file put all your graphical functions (don't forget to declare them first +in graphics.h). So when you want to draw something use this file. One cool function +to look at would be uLCD.blit() there are more like filled_rectangle etc... +https://os.mbed.com/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/ +This website is a good resource. +*/ void draw_player(int u, int v, int key) {