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.

Newcomers DBPro Corner / need help with play object [start frame] [end frame]

Author
Message
Krad2004
19
Years of Service
User Offline
Joined: 8th Mar 2005
Location:
Posted: 28th Mar 2005 19:26 Edited at: 28th Mar 2005 22:36
hi, i have an object that is animated and 21 frames long, here is my code:



as u came see, when i press the Q key the object plays from whatever frame its currently on until frame 11, BUT when i play the exe and press the Q key, the object goes straight past frame 11 and stops at frame 21.

can someone help

thanks

Edit: BTW i am using DBP
Krad2004
19
Years of Service
User Offline
Joined: 8th Mar 2005
Location:
Posted: 29th Mar 2005 08:48
well, i sorted that problem and now i have another

is there any way to reverse an animation, like if i press the up key the animation plays from frame 1 to 10 and then if i press the down key the animation plays from 10 to 1 on the same object??

thanks in advance
Krad2004
19
Years of Service
User Offline
Joined: 8th Mar 2005
Location:
Posted: 29th Mar 2005 10:16
well i got the answer i was looking for in another thread, that'll teach me not to read all of a thread before looking on....

anyway if anyone would like to know how to reverse an object animation using code, click on the following link:

http://forum.thegamecreators.com/?m=forum_view&t=45173&b=7

Login to post a reply

Server time is: 2024-09-23 15:31:46
Your offset time is: 2024-09-23 15:31:46