Alternative Controls

I decided to add in more than one key to control the rocket with. I made a setup where the player can use A or Left Arrow to rotate left, and D or Right Arrow to rotate right. The boost seems logical to be bound to the space bar, but in case someone prefers using only arrow keys or only WASD, I made the boost able to activate with W, Up Arrow, or Space. I provided a screenshot of my code below for reference. There is a lot of commenting in my code, I know…I find it to be really helpful though.

Privacy & Terms