A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.
Dependencies: mbed MotionSensor
Diff: N5110/N5110.cpp
- Revision:
- 23:5a8f75e93508
- Parent:
- 4:d1aeb131e533
- Child:
- 25:112cbcb0b4a7
diff -r 7abf4581bc9b -r 5a8f75e93508 N5110/N5110.cpp --- a/N5110/N5110.cpp Thu Apr 25 05:53:30 2019 +0000 +++ b/N5110/N5110.cpp Thu Apr 25 23:15:44 2019 +0000 @@ -491,6 +491,9 @@ for (int j = 0 ; j < ncols ; j++) { int pixel = *((sprite+i*ncols)+j); + if (pixel == 2) { + pixel = 0; + } setPixel(x0+j,y0+i, pixel); } }