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

5h 18m 23s logged

Health System, Enemy Attack, 15 new Skin!

Summary of Features added:

  • Player/Enemy Attacks
  • Health System (Damage/Heal)
  • Health Bar shown
  • 15 new Skins!
  • Avatar Menu “Set” Selector

Avatar Set Selector

This took a lot of time than I would like. I first had to scourge through 100s of directories for each Skin (each skin has 3 “tiers”) and get the 0th “idle” animation sprite.

The next part was pretty straight forward owing to the time I took to make the architecture great :3

Health Bar

This wasn’t hard as per say. But it is mad slow. I realised it earlier but never mentioned it. orui library is slow. UI libraries aren’t meant to be this slow. Probably it is due to the rendering that makes it this much slower.

How slow? My renderer could render 50 entities under 1ms, now it takes ~5ms to render 20 entities.

Future Todos:

  • Performance. I will track down where orui is slow. If it is in the logic part, we can’t do anything as I am not smart enough to fix logic so complex. But if it is related to rendering, we can work with that.
  • Performance. It’s been a while since I diagnosed the slow parts in my code. I will deep dive into the code. Find out what is slow and try to fix them

The next few days, I will work on to squeeze as much performance as I can from this game.

0
29

Comments 0

No comments yet. Be the first!