Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

PowerQuest

A Nifty 2D Adventure Toolkit for Unity · By Powerhoof

Extension: Character Poses

A topic by Powerhoof created Jan 10, 2022 Views: 330
Viewing posts 1 to 2
(1 edit) (+1)

I'm posting some functions I'm using in The Drifter that aren't in core PowerQuest now. Let me know if you find them useful and think they should be in core PowerQuest.

This one's for setting both the Idle and Talk animations temporarily on a character. It's basically an alternative way of doing this:

C.Mick.Animation = "Angry";
Mick: I'm really angry about this!
C.Mick.StopAnimation();

So with this extension, you can also call:

C.Mick.Pose = "Angry"; 
Mick: I'm still really angry about this!
C.Mick.ResetPose();

Or if you only need it for a single line of dialog (like above)

C.Mick.NextPose = "Angry";
Mick: I'm still really angry about this!

For the drifter I use the 'LoopStart' and 'LoopEnd' tags, to transition in/out of these poses, and also use the lip sync and separate mouth animation, so this makes it pretty easy to have conversations become more animated. I use poses for all sorts of animation states too, not just for dialog.

One caveat is that it can get a bit confusing when you're mixing use of 'Animation' property, and the 'Pose' properties. And you forget to clear a pose or an animation sometimes. But I'm still using it a lot for The Drifter, so may be useful for others too. 

Setup

moved this topic to Extensions and Templates