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.

DarkBASIC Discussion / object animation looping

Author
Message
Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 10th Nov 2006 18:25
I'm using a 3d model from darkmatter in a small game i'm making, but i use the object movement check in the main loop i.e. if upkey()=1 then... etc. but i use the "play object" command for it and it only shows the object animation if I then let go of the up key. how can i get it to play in a smooth loop while consantly holding the up key, instead of starting it over and over in rapid succession? i've tried the following, away from the main loop:



but i have the same problem.

"Fight the good fight of faith,
Lay hold on eternal life"
-1 Timothy 6:12
Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 10th Nov 2006 18:46
Why don't I try "loop object", and some to wake myself up...

"Fight the good fight of faith,
Lay hold on eternal life"
-1 Timothy 6:12
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 10th Nov 2006 19:40 Edited at: 10th Nov 2006 19:40
LOL. It happens to all of us. I do the same thing sometimes.

Login to post a reply

Server time is: 2025-05-25 21:52:26
Your offset time is: 2025-05-25 21:52:26