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 / determining anime time,sequence and length.

Author
Message
Brother Iron
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location:
Posted: 8th Oct 2005 18:15
hey,

I was looking thru some examples and commands for the Basic 3d in Dark Basic. I'm confused and unclear about something.

I've loaded in both one of the animated goblin models....ummm walk.x. And also one of the static models of the penguin....penguin.x

Why a goblin and a penguin? I don't know...but a weird combination.

How do you deternime when a full complete sequence or even multiple sequences(2 for example) of let's say the goblin walking is done and then switch over and display the penguin for a certain time limit???

I have seen and noted several of the commands in Basic3d section such as Total Object Frames(), Object Playing(), Object Looping(), Object Frame(). and, also the plasying animated model commands and Object In Screen().

Sorry for my newbiness and being nervous and over-anxious...I guess it boils down to the trial and error and thinking and coding. Mental elbow grease.

I'll see what I can do.


cheers,

Brother Iron
NanoBrain
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 8th Oct 2005 21:48 Edited at: 8th Oct 2005 21:50
Brother Iron,

In this case, object frame() is your best friend. You just need to know the frame number you are checking for.

Therefore, detect for one or more sequence loops in an animation:


Do you understand?



+NanoBrain+
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 8th Oct 2005 23:41
total object frames is also usefull especially if you are appending other animations to an object.

Formerly known as SFLM.

Login to post a reply

Server time is: 2024-11-13 21:13:23
Your offset time is: 2024-11-13 21:13:23