Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: paolo on Mon 01/05/2017 19:41:44

Title: Bug report: Game hangs if animating invisible object
Post by: paolo on Mon 01/05/2017 19:41:44
I'm not sure whether this is an actual bug or a feature...

If you set Visible to false for an object, and then animate it, the game hangs. Obviously you wouldn't want to do that, but my game was hanging and I found out I had forgotten to make my object visible before animating it.

At the very least, I think this should generate a warning at compile time or runtime, or maybe it does already and I didn't notice it?

PS: I saw this in v3.3.4, build 3.3.4.2.
Title: Re: Bug report: Game hangs if animating invisible object
Post by: Crimson Wizard on Mon 01/05/2017 20:34:06
It probably hangs because you are doing something like while(object.Animating)?

It's a known bug that was never fixed:
http://www.adventuregamestudio.co.uk/forums/index.php?issue=509.0
Title: Re: Bug report: Game hangs if animating invisible object
Post by: paolo on Mon 01/05/2017 21:10:49
It was a blocking animation, which is probably equivalent. Thanks for the info.