Personal Project: Christmas Break Sketches and Update

Due to Christmas and new year being a very busy period at my shop where I work, I have been having to put in extra shifts to help out in store to deal with the high amount of customers, so … Continue reading

Coding For Maths Exam

To help us prepare for our maths exam, we have been told to make a game that uses different aspects of maths to help us revise and get ready for the upcoming exam.

However, I couldn’t seem to even start the game since my player character just doesn’t respond properly when the arrow keys are pressed.

ezgif-459591581.gif

Then with some help, I realised one part of the code wasn’t working and by just removing it, it made the teleportation stop.

ezgif-2982993881.gif

The next thing I need to change is the fact that the sprite is constantly walking, even when the key isn’t pressed. So I will need to add a idle and other movements for the character.

So I have created a animation controller and added the different animation states into it.

ezgif-2473268111

But for some reason there was a slight delay in changing animation states, so when the player starts walking, for a second or two, which is really noticeable, the animation is still idle before it finally changes back to walking.