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.
Then with some help, I realised one part of the code wasn’t working and by just removing it, it made the teleportation stop.
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.
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.