One of the most important points in our games is the movement of our player. In this case we are going to explain a simple and easy way to generate movement in a 2D game. We are going to explain the mechanics that we used in our last game, in which we pilot a spaceship and must avoid meteorites. We decided that the player could only move left and right, which simplifies the whole process a little, although it is a good starting point for other types of games.
Create controls
Our game is designed to be played on mobile phones and tablets, so the controls we decided to do… more