Rolling, magnetic items and score screen

This week I added rolling to the movement. The player can now roll left and right by pressing the J or K key, or by moving the right joystick horizontally. The player rolls back to a 0 degree rotation after about 2 seconds.rolling.gif

I also changed the items to now be pulled towards the player. This makes it easier to collect coins, and it also gives the player more feedback. I added a small sound when the orb gets collected. The orbs now follow the spline more as well.

orbs

The player is now also able to die, which will take him to a score screen. Here he can see his score and time, and he can either restart or go back to the main menu.
hdnaqvj

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s