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 / A beginner's question about animatedsprite

Author
Message
Toshio
14
Years of Service
User Offline
Joined: 10th May 2010
Location:
Posted: 11th May 2010 05:40
Hello,

I started self learning programming for a few months only, and I am currently stuck at managing an animated sprite.

I have a bmp file containing the 5 parts for the animating it. When I use dbPlaySprite(imagenum, 1, 5, 100); to play it, it repeats itself. Is it possible to make it play from 1 to 5, and then hide it when it is at 5, rather than repeating itself over and over again?

I will really appreciate if anyone could kindly reply.
Thank you very much
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 11th May 2010 18:16


Or something to that effect...

JTK
Toshio
14
Years of Service
User Offline
Joined: 10th May 2010
Location:
Posted: 12th May 2010 08:21
Thank you very much for your help JTK That solves my problem

Login to post a reply

Server time is: 2024-07-07 01:41:37
Your offset time is: 2024-07-07 01:41:37