Dozens of small features implemented!
- Migrated the End screen UI to the new UI library
- Brought back the physics collider with water from previously deleted code.
- Removed a rouge sleep call in loading phase. (Which was put there for testing
) - Instead of drawing rectangles in when playing. We now draw the characters! With randomly generated skins!!
- Migrated Playing and loading UI to the new library
- Code cleanup and refactored for better architecture
Culling #bd56fa
When adding Culling to player rendering, I got an optimisation of 5ms->2ms.
Animation while playing
The initial phase was very easy. What I did struggle with was flipping the image. First, I tried flipping the texture themselves.
It did work but the offset of the bones were not in place. It was fine when going right, but when I turn left. It all turns bad, the 2nd video is a demonstration of that.
It took a lot of tweaks and black magic to find out that I had to also flip the anchor position and angle too 😭
Now it is working as intented :)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.