You've seen the collision detection function before, and I do use point().
'from yetifoot and mysoft (I think my bounds checking may be off 1 pixel, or my computer was crashing from something else... which is likely since this is Vista...)
'#define point2(x, y, source) cptr(uinteger ptr, cptr(any ptr, (source)) + sizeof(fb.image) + ((y) * (source) -> pitch))[(x)]
#define point2 point
The only things you should have to change for 16-bit mode are:
- Const transparent = &HFFFF00FF
- Bitmap files; or can you load 24-bit bitmaps into 16-bit screens?
- The desaturation in game_over() (just comment this part out)
- Probably every use of &HFF, which indicates a 32-bit color
How should I change the gravity? It has to be strong otherwise you cannot accurately control the ship. If I lessened the gravity, it would just not be good for expert levels.
BTW, you have to get to Level #9 to see the bubbles, but Level #16 is the best.