Hi, I have a problem with my game, the ship works on mobile with buttons (move and shoot) but I don’t know why on different devices these buttons move from their place. does anyone have any idea how to solve it?
Reconsider the positioning of the elements in your addMobileControls() function, as there are incorrect calculations. The GIF shows that the position depends on the actual height of the “window”.