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 / hiding and showing sprites

Author
Message
frstPrsn
18
Years of Service
User Offline
Joined: 13th Apr 2006
Location:
Posted: 7th Mar 2007 23:41
The problem that I have with hiding and showing sprites is that when I hide a sprite at one location of my project and then show it again in some other part of my code, my sprites does not come back or appear.

here are the basic steps...

-load all the animations, assign animation and sprite number for each
-play the animation to an image(basically to the same animation number)
-set a sprite for that image
-hide that sprite
-when I have to show a specific animation, show sprite...

Here is the code that gives me the problem:





I'm not using any of these numbers for animations in any part of my code other than these places. Can anybody see an obvious error that I have made?

Login to post a reply

Server time is: 2024-09-28 23:15:21
Your offset time is: 2024-09-28 23:15:21