s-macke/Interplanetary-Postal-Service

Lander instantly explodes

milancpp opened this issue · 2 comments

I'm on Firefox 62.0 (64 Bit) on Windows 10.

When I start the game, it loads normally. When the countdown reaches 0 however, the lander instantly explodes. I tried multiple times and reloaded the game to no avail.

I can give out more information about the system if required :)

This is an interesting bug. I thought that some people might have a problems with my very simple collision detection method. Actually I draw the boundary and count the boundary pixels. Then I draw the ship and count the boundary pixels again. If the number differs, the ship collides. So I think that your Firefox takes some sort of graphics accelerator which does not work with full 8 Bit accuracy for the colors. Since I am no longer limited to 13kB I can enhance this collision detection.

I just tried again with disabled hardware acceleration (disabled via options menu), but it did not make a difference. My graphics card is a NVidia Geforce GTX 1070 with the latest drivers (installed a week ago)