#4: Forward and backward
The Classroom Legacy » Devlog
DevLog #4: Forward and backward
I upgraded the Point class in order to have a rotation duration (not linked to the move speed). Now my Component looks like this:
I had some problems last time to make the rotation animation and figured something out with a mysterious transformation of euler angles. I also codded the fact to get the next angle when going backward and find the minimum angle to turn (turn +90° to go from 270° to 0° rather than turn -270°).
The result gives this:
I added also a player spawn empty GameObject with a circle Collider 2D which gives him a "safe zone" to be. This zone is also used to detect the end of the level when the player fully filled the cheat bar.
Thanks for reading.
Hope you enjoyed,
TheRolf
The Classroom Legacy
A cheater adventure
Status | In development |
Author | TheRolf |
Genre | Adventure |
Tags | 2D, classroom, flash, high-school, legacy, Top Down Adventure |
Languages | English |
More posts
- #8: Mission impossibleApr 25, 2019
- #7: Time to interactApr 15, 2019
- #6: Point of viewsApr 14, 2019
- #5: See biggerApr 14, 2019
- #3: Show me the wayApr 14, 2019
- #2: Getting caughtApr 13, 2019
- #1: Let's designApr 13, 2019
Leave a comment
Log in with itch.io to leave a comment.