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.

Dark GDK / sprite animation help

Author
Message
ShadoWeb
15
Years of Service
User Offline
Joined: 4th Feb 2009
Location:
Posted: 6th Feb 2009 21:59
Hi.
I'm trying to play the sprite animation (running) but when I press the key the character do all the animation before the running animation

like.

standart animation 1,2
Jump animation 3,6
Running animation 7,12
when I press to run the character first stay standart than he jump and just then he start to run

can someone help please?

Group to talk about c++/DarkGDK or other framework/libs
Help others and get help.add in WLM Group25992@groupsim.com
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 8th Feb 2009 04:53
Not a clue. But posting your code would help a lot of people find the error in your coding.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
stevebrit
15
Years of Service
User Offline
Joined: 6th Jan 2009
Location: Florida USA
Posted: 8th Feb 2009 08:41
Not exactly sure what your problem might be without seeing any code. But if you are saying you are getting ALL the frames of your animation and not just the frames you want at that time. Then you have to set 'start' and 'end' frames that you want to play using 'dbPlaySprite' function.

dbPlaySprite ( int iSprite, int iStart, int iEnd, int iDelay )

Hope this was helpful ?

Regards :- Steve

AMD Athlon64x2 3.1Ghz - Ram 4Gb DDR2 800Mhz - 500Gb HD
Ndivia 9600GT SLI - 24in LCD - WIN 7 - 64 bit BETA
ShadoWeb
15
Years of Service
User Offline
Joined: 4th Feb 2009
Location:
Posted: 9th Feb 2009 23:13


That's all... I think that This is right
Isn't ?

Group to talk about c++/DarkGDK or other framework/libs
Help others and get help.add in WLM Group25992@groupsim.com
ShadoWeb
15
Years of Service
User Offline
Joined: 4th Feb 2009
Location:
Posted: 11th Feb 2009 17:21
please someone I need fix it

Group to talk about c++/DarkGDK or other framework/libs
Help others and get help.add in WLM Group25992@groupsim.com
Comnik
15
Years of Service
User Offline
Joined: 16th Feb 2009
Location:
Posted: 17th Feb 2009 18:03
You could use a Bitmap for each Animation,
but I've got the same Problem...
Comnik
15
Years of Service
User Offline
Joined: 16th Feb 2009
Location:
Posted: 17th Feb 2009 18:55

Login to post a reply

Server time is: 2024-11-25 13:35:33
Your offset time is: 2024-11-25 13:35:33