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 / Problem with animations in Darkbasic.

Author
Message
KamaKase
21
Years of Service
User Offline
Joined: 29th Oct 2002
Location:
Posted: 25th Oct 2003 16:11
Hi guys.... sorry. Me again.
I've attempted to create a .x file. It works, and plays from start to end.
The first frame is just standing.
The Second is a transition frame
Then it has a 20 frame long walk animation.

So why wont it play in DB. (I used the JTE export thing).

I've used.


load object "walk.x",1

do
loop object 1,1,21
loop


(I used 1,21 because it said I had 21 frames, so I assumed the first frame was 0)

Please help. I've been fiddling with it for a while now.

Thanks!
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 28th Oct 2003 19:22
your code looks fine...could be a problem with your model maybe...

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
hexGEAR
21
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 29th Oct 2003 12:20
try:

[
sync on
load object "walk.x",1
loop object 1,1,21

do

sync
loop
]

Login to post a reply

Server time is: 2024-09-21 07:30:24
Your offset time is: 2024-09-21 07:30:24