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 / SPRITES - OMG This is so irritating!

Author
Message
Stazi
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location: Boulder, Co
Posted: 21st Feb 2008 04:50 Edited at: 21st Feb 2008 21:15
can someone tell me what is wrong with the animation loop.. its so irritating.

move that chocobo around with the arrow keys. i cannot get the sprite frame to reset the way i want it to.

please help! i know some of the code looks weird but ive been trying all sorts of this



Adam Androulidakis
Stazi
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location: Boulder, Co
Posted: 23rd Feb 2008 00:22 Edited at: 23rd Feb 2008 19:11
ok some of the code in the last bit was a little weird.

ok so isnt dbPlaySprite ( 1, 10, 12, 75 );, for example, suppose to just play frames 10 to 12.... this is for the animation for moving downward, so if i was to move up and then down its going to play from frames 1 to 12 and then loop from 10 to 12...
Has anyone else run across this issue. I can find no way to use dbSetSpriteFrame without it playing the same frame i set over and over in the game loop.

Check this out and someone get back to me please. PLEASE!



Adam Androulidakis
Stazi
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location: Boulder, Co
Posted: 24th Feb 2008 01:24
someone help me

Adam Androulidakis
Stazi
16
Years of Service
User Offline
Joined: 20th Feb 2008
Location: Boulder, Co
Posted: 29th Feb 2008 18:58
ok. thanks to anybody who even thought about helpin me out, but i figured it out.

turned out to be something like this:



there was a conflict with the down key too conflicted with a frame from the dbLeftKey statement
so changes had to be made to dbDownKey



Adam Androulidakis

Login to post a reply

Server time is: 2024-11-17 06:42:46
Your offset time is: 2024-11-17 06:42:46