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 / :( can someone see what is wrong with my small code?

Author
Message
sorcre
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: United States
Posted: 23rd Feb 2003 22:38


the animation won't work! i wana make it so that when u hold down the up key it plays the walking animaition and when u let it go it stops. but i canot get it to work.... it is the model from dark matter.
never achive your goals! cause if you do what is next?
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 23rd Feb 2003 22:57
I dont have the darkmatter model, so I cant test it out, but dont bother using stop animation if you use play animation. Play animation plays it only once.



otherwise, you could use



Hope this helps ^_^

Whatever I did I didn't do it!
sorcre
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: United States
Posted: 23rd Feb 2003 23:16
cool the 2nd one worked. but how do u make it start on the 2nd frame instead of the 1st on? or better yet how do u make it so that when u let go of the up key it returs it to the 1st framr and the animation stops

never achive your goals! cause if you do what is next?
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 23rd Feb 2003 23:25
To make it start on the 1st frame use:



As for the returning back to frame 1, you could write a piece of code to do that, but (I think) you can use the set object interpolation command to make it look a bit better. Experiment, if that doesnt work I'll have a look at making a snippet for you.

Whatever I did I didn't do it!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 23rd Feb 2003 23:26
Actually, dont use Set Object Interpolation, it only works when you animate using set object frame.

Whatever I did I didn't do it!
sorcre
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: United States
Posted: 23rd Feb 2003 23:29
thanks a lot

never achive your goals! cause if you do what is next?

Login to post a reply

Server time is: 2025-05-15 15:48:36
Your offset time is: 2025-05-15 15:48:36