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 / animation help please really??

Author
Message
koolaid
23
Years of Service
User Offline
Joined: 26th Jan 2003
Location: Cyberspace
Posted: 13th Apr 2003 15:28
okay my aniamation problem still exists its really starting to bother me all them different frames set this i cant do this right at all.check this out i have a model swatidle,swatmove,swatattack all are 25 frames long.i need someone to help me make a small test a snippet anyone
i want swat idle to play by itself when i dont push anything
i want swat move to play when i hold the upkey()
i want swatattack to play if i hold another button say downkey()
now if im moving(holding upkey)and push downkey i want the swatmove animation to stop so the attack can play(also actually stopping the player because the object is to be moved with the move animation)
this is my big problem that i need to solve it may be simple to alot of people here but im still kindddddd offff new.thank you to who ever replys to this post your greatly apprecciated.
EightYearRecoil
23
Years of Service
User Offline
Joined: 7th Apr 2003
Location: United States
Posted: 15th Apr 2003 11:44
I used some different animations like that in a program I've been working on. Basically, I had my main spite as # 1, and my animation images from 1 to 18. then, when I moved the sprite, depending on the direction it's going, I added a certain amount to the sprites image.

Something like this might work for what you want. Of course, you will probably need to modify it a bit, it's just a basic idea. Anyway, I hope it helps.
Kentaree
23
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 15th Apr 2003 14:17
This snippet just deals with the changing of the animation, not with movement of the character, but I think it should help you.



Cheers
Kentaree

Whatever I did I didn't do it!

Login to post a reply

Server time is: 2026-06-11 17:32:51
Your offset time is: 2026-06-11 17:32:51