Open andreagalle opened 1 year ago
A cool solution would be to have two different sprites, one on top of the other. I'm thinking of a gun sprite on top of the spaceship sprite, the former can rotate whereas the latter cannot. In this way the game would be more visually intuitive. The gun always points in the direction of the mouse.
Good idea, rotating the spaceship itself or the map beneath would be much less intuitive or even make the player go crazy.
@ben-vanzyll-temple we could plan this issue as soon as the #21 and #22 (plain space exploration features) are closed! Maybe iteration 3?
The Spaceship can rotate according to the mouse pointer, this will decide which direction the gun points too.
Concerning thr spaceships displacement, THIS will always be unrelated to the orientation itself, i.e. independetly from the orientation the spaceship will always move the direction the arrow key are pressed.