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 / Animation Woes (Play object command)

Author
Message
Dr BOK
21
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 11th Jun 2003 19:57
Ive been trying to get this to work for a while now only to find another obstacle. The idle animation is meant to play every 10 seconds. The problem is it just jerks every ten seconds instead.

If Moving=0 and timer()>IdleTimer#
print "Im Idle"
If object playing(1)=0
play object 1,24,47
IdleTimer#=timer()
endif
endif

Thats my code Im using. Any help is appreciated. It seems like its only playing one frame or something, but I await your replies.
Thanks.
Flawless Designs
CarlTaylor
21
Years of Service
User Offline
Joined: 13th Jan 2003
Location: United States
Posted: 12th Jun 2003 00:38
i think you may be resetting IdleTimer# too quickly...

baseball = life
Dr BOK
21
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 12th Jun 2003 15:53
Maybe..

Flawless Designs

Login to post a reply

Server time is: 2024-09-20 12:58:57
Your offset time is: 2024-09-20 12:58:57