EN
Agent_Ash
Agent_Ash
17 subscribers

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 ;)

Subscription levels

Supporter

$ 1,03 per month
Thank you for helping me make mods and write guides!
This level gets you a Supporter role on my discord server.
+ chat

Fan

$ 2,58 per month
You're a true fan!
This gets you a Fan role on my Discord server, and a place in the credits for my works!
+ chat

Brother in Arms

$ 4,2 per month
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!
+ chat
Go up