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 .NET / Problem with PlayAnimation()

Author
Message
Chess
17
Years of Service
User Offline
Joined: 25th Mar 2007
Location: Québec, Canada
Posted: 18th Oct 2009 07:06 Edited at: 18th Oct 2009 07:07
Hi, I'm looping an animation from start-frame to end-frame, but the LoopAnimation() seems to restart at frame 1, whatever I try.



Do I miss something? Is it a bug? Thank you for your help
Chess
17
Years of Service
User Offline
Joined: 25th Mar 2007
Location: Québec, Canada
Posted: 21st Oct 2009 00:42
No one can help me?
acurrate eye
14
Years of Service
User Offline
Joined: 28th Aug 2009
Location: ur house under your pillow was under bed
Posted: 13th Nov 2009 22:19 Edited at: 13th Nov 2009 22:27
this happened when i was using dark dgk it will not stop but try this code it worked for my explosions i modified this code to dbpro
or are u using dark gdk
fn = frame number/end u want
sas = stop animated sprite sprite num
obj = sprite num

dbpro format

if Object Frame()=fn then sas

darkgdk format
if (dbObjectFrame(fn)==1)
{
dbStopAnimatedSprite(obj);
}

hope this helps
if you dont understand what i am saying ill tell you in more detail

if you can't do it try try again and if you still cant do it ask for help

Login to post a reply

Server time is: 2024-03-29 08:21:36
Your offset time is: 2024-03-29 08:21:36