Re: Newbs need help with collision detection.
Posted: Mon Jul 17, 2017 8:40 am
Ok I've been playing with this between updating the libraries but I can't figure out why the collision function refuses to work. The return doesn't work either. I used a working template for Esmerelda to derive the functions in the sketch. And it works. Could it be something to do with the way I'm displaying bitmaps now in 4bpp? The tiles are still full tiles and 16x16 so there shouldn't be a problem.
Could it be something with using flash instead of progmem? Or maybe I should use collideBitmapBitmap()?
I'm not asking any one to debug or write code. I can fix it but I could use a hint at what could be causing the collision to not work.
The full sketch can be found here.....
https://github.com/Duhjoker/GameR-Iot_Dune_demo
Could it be something with using flash instead of progmem? Or maybe I should use collideBitmapBitmap()?
I'm not asking any one to debug or write code. I can fix it but I could use a hint at what could be causing the collision to not work.
The full sketch can be found here.....
https://github.com/Duhjoker/GameR-Iot_Dune_demo