RU
Agent_Ash
Agent_Ash
14 подписчиков

How the HUD face works in Alice: Toys of Madness



I wanted to have a HUD face in Alice: Toys of Madness. But I needed multi-frame animations for blinking, pain reaction, etc., in contrast to Doom. It's pretty difficult in UI context... So Alice's face is actually handled by an actor.
The video shows how it'd look if rendered in-world.
How it works: a monster-like actor is spawned and attached to the player (but isn't actually rendered in the world). It uses actor states to display animation sequences when the player is hurt, idle, etc. The HUD reads the actor's current sprite and draws it in the UI every frame.
Granted, this is kind of a hack, but it was a lot easier to utilize an already existing animation system used by actors than try and create something from scratch specifically for UI. Trust me, I did that first, it didn't work nearly as well ;)

Уровни подписки

Supporter

$ 1,13 в месяц
Thank you for helping me make mods and write guides!
This level gets you a Supporter role on my discord server.
+ чат

Fan

$ 2,82 в месяц
You're a true fan!
This gets you a Fan role on my Discord server, and a place in the credits for my works!
+ чат

Brother in Arms

$ 4,6 в месяц
Thank you so much!
This gets you a vanity role of your choice on my Discord server, a place in the credits for my works, and early access to development builds of my mods!
+ чат
Наверх