You are browsing as a guest. Sign up (or log in) to start making projects!

8h 16m 38s logged

Implemented Animation blending + UI library changed

I wanted the player to be rendered in the main_menu and in the avatar menu. But also wanted the animations to be looping randomly.

When I implemented random looping I found out that, the animations wouldn’t behave properly due to snapping. So I implemented animation blending.

It was not at all easy, had to implement another angle_lerp function specifically for blending angles.

Character customisation

Due to me working hard earlier, changing character sprites is a cakewalk. In the attatched video. The head sprite is of tier 2 while the rest is from tier 1

GUI

I really wanted to like raygui, but it was really bad. A lot of maths required for very simple things! I didn’t like it at all. So in search of a new UI library I found this niche library orui!

This fits my needs perfectly:

  • Immediate mode
  • Super fast
  • (Not what I was looking for but a plus) Uses raylib
  • Doesn’t depend on me to do the maths
  • Actually customisable

You can see the updated GUI in the video, looks good right :) it also supports animations and transitions!

0
23

Comments 0

No comments yet. Be the first!