ketanhwr / reflexio

A web game based on reflection
MIT License
81 stars 72 forks source link

Level 3 - Mother spaceship missing when playing full screen #41

Open ghost opened 6 years ago

ghost commented 6 years ago

I was playing full screen on level 3 when I noticed the mother spaceship was missing. When I made the window size smaller and reloaded the game, then it shows up.

ketanhwr commented 6 years ago

Strange, a Screenshot please?

ghost commented 6 years ago

screen shot 2018-01-18 at 9 02 08 am

ketanhwr commented 6 years ago

Okay, weird.

DJBorn commented 6 years ago

Hey, I think this issue stems from the size of the browser window. I haven't actually looked at the code yet as I've just discovered this project but it looks like the certain game element positions have hard coded positions, regardless of screen resolution.

Check out these screen shots below, I took these after refreshing the page and then playing the game up to level 3 using different browser sizes (Chrome Version 63.0.3239.132 (Official Build) (64-bit)):

1424x715: 1424x715

1669x832: 1669x832

1903x943: 1903x943

It seems the screen size has caused some other issues related to other bugs I've seen in this project such as the mother ship ring not being correctly centered. See below:

1903x943: mothership_ring_issue

kjesek commented 6 years ago

Is this issue still available?