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 / Using Multiple Animations on one object.

Author
Message
Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 27th Nov 2010 01:02
I am having trouble with animations, i am using the DarkMatter pack that came with DarkBASIC Classic Lite and im not sure how to get other animations in one object. I have already tried Append object but it just gives me an error.

The Object of war is not to die for your country but make the other guy die for his
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Nov 2010 18:59
What objects are you using?
What code?
What error?

These will help massively.

Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 28th Nov 2010 19:31
I am using a Pre-Animated GI figure from DarkMATTER
My code is:

I have fixed the error that it gave me but it doesnt give the desired effect, it just adds to the end of my current animation.
I would like to have more than one animation on one object so the animation will play only when i call that specific animation to play.

The Object of war is not to die for your country but make the other guy die for his
revenant chaos
DBPro Master
19
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 28th Nov 2010 21:55
Quote: "I have fixed the error that it gave me but it doesnt give the desired effect, it just adds to the end of my current animation."


That sounds like you are just calling "Loop Object" without specifying the start and ending frames.
Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 28th Nov 2010 22:56
Could I do it like this?



The Object of war is not to die for your country but make the other guy die for his
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Nov 2010 14:01
I haven't tried it like that but it should work.

You might need to use sync in your loop.



Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 29th Nov 2010 23:40
when i sync it, it just slows it down.

The Object of war is not to die for your country but make the other guy die for his
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 30th Nov 2010 13:55
Try changing the "sync rate" to say 60?

Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 30th Nov 2010 23:12
Already Tried, still the same

The Object of war is not to die for your country but make the other guy die for his
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 1st Dec 2010 13:43
Why not post your current code. Maybe I can see the problem... I'm kind of guessing otherwise.

Travis Gatlin
17
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 2nd Dec 2010 00:28
The Whole code? or just the part im having trouble with?

It's Not My Money but i need it NOW!!!!!!!!
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 2nd Dec 2010 09:30
Either as long as it demonstrates the problem you're having.

Sometimes it helps to make a little demo of the problem (sometimes you'll find the answer while making the demo)...

Login to post a reply

Server time is: 2026-07-01 20:49:06
Your offset time is: 2026-07-01 20:49:06