Coding player movement, door and gem interaction


Today I began the coding for my player movement and the pickup function for picking up gems and also the door interaction.

I began with coding the movement for my player, this was a bit tricky as I also had to ensure the character sprite was facing which way he was walking. With my movement coding now complete I can now control the speed in which my character moves and how many times he can jump. 

I also completed the pickup function coding so that when my player touches the gems in the level they will disappear and add to my players score and added more coding to the portal door so that when the player collides with the door it will take the player to the next level.

Leave a comment

Log in with itch.io to leave a comment.