Driving around the circuit on your own is fun but not very challenging. It would be much better if you could invite a friend to compete against. In this step, we will introduce a second player character. Both characters will be visible on the same screen and will be controlled with one keyboard. We're effectively building a simple form of multiplayer.
To create a second player, we mainly have to copy the work we've done already. We need a second control sprite and a second kart sprite. We already added a Mario sprite to the game, so let's bring in his brother Luigi as the second player:
player1and choose duplicate.
player2automatically. If that's ...