Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: BrightBulb on Sat 07/11/2015 22:49:28

Title: Indiana Jones Fight Scripting: Problems with blocking animations [Solved]
Post by: BrightBulb on Sat 07/11/2015 22:49:28
Hi there,

I have scripted a fighting sequence like the boxing fights in Fate of Atlantis. It works, but know I've noticed a problem.

If I use blocking animations, it makes the controls sluggish.

If I use non-blocking actions, the animations are not visible.

Is there a solution for this?

Title: Re: Indiana Jones Fight Scripting: Problems with blocking animations
Post by: MiteWiseacreLives! on Sun 08/11/2015 00:10:15
try checking (cEgo.Frame == 0 || cEgo.Frame > 2) before allowing input for another strike.. or adjust the 2 to what feels best after testing.
Title: Re: Indiana Jones Fight Scripting: Problems with blocking animations [Solved]
Post by: BrightBulb on Sun 08/11/2015 11:10:39
Thanks for your advice.

I have found an error in my script that prevented the animation to be shown properly in no-block mode.