Today I learned how to made my main character to wrap around the room while my character moving smoother, in yesterday post i found my method didn't work , because my main character have no speed while moving.
before i did any fix on movement my character will get stuck if i pressed right and left too fast.
what i did : I followed the
movement tutorial, then I changed a little bit of the coding. To make my main character have a speed, so that my main character can wrap around the room.
Before i fix any movement:
Before:
After:
before i fixed any movement:
yesterday's post movement:
now it can wrap around the room:
The next day i'm going fix when the enemy exits the room, i will make it pop up gameover, and make my main character stop or dead. so that player cant continue the game.