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 / Playing back animations

Author
Message
aongalmighty
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location:
Posted: 23rd Dec 2009 15:46
Hi there,
I've created an animation in 3d studio max which I've exported as a png file which I then play in DarkGDK by using the function 'dbPlaySprite()'. At the moment it just loops over and over until I close the program. Is there any way of controlling how the animation loops? For example I'd like to play the animation once, rather than have it playing over and over.
Thanks in advance,
aongalmighty
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 23rd Dec 2009 20:24
try this or "if" "else":




you should call this function every time in your main loop
hope I helped

HI!

Login to post a reply

Server time is: 2024-11-20 07:24:40
Your offset time is: 2024-11-20 07:24:40