Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lander instantly explodes #4

Open
milancpp opened this issue Sep 17, 2018 · 2 comments
Open

Lander instantly explodes #4

milancpp opened this issue Sep 17, 2018 · 2 comments

Comments

@milancpp
Copy link

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 :)

@s-macke
Copy link
Owner

s-macke commented Sep 17, 2018

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.

@milancpp
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants