Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / 2D Game. Hiding an animation after its played.

Author
Message
Rhiojin
13
Years of Service
User Offline
Joined: 4th May 2011
Location:
Posted: 4th May 2011 20:44
Hi,

Im working on a student project and I've come to a road block where i can either have an animation play infinitely or set some code where it would hide it self after reaching a certain frame.

The problem shows itself when trying to hide the animation. It hides before even playing.





If i remove the code to hide the animation the animation does play
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 4th May 2011 22:43


Add this snippet somewhere after you play the animation.


Regards,

JTK
Rhiojin
13
Years of Service
User Offline
Joined: 4th May 2011
Location:
Posted: 5th May 2011 00:39
I was using that bit code before moving to timer based cooldown and was having the same problem

Login to post a reply

Server time is: 2024-11-19 10:38:49
Your offset time is: 2024-11-19 10:38:49