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 / Animation goes through all the frames.

Author
Message
lucky_shot
8
Years of Service
User Offline
Joined: 7th Jan 2012
Location:
Posted: 16th Mar 2012 02:49
Hi, I had this problem a while a go but stopped working on the game since then and still have the same problem but I have narrowed it down further. Basically, I have programmed my game to when the player presses w it moves the sprite upwards and plays the walking up animation. The problem is it plays through all the frames in the sprite sheet. Then it gets to the ones I want it to play and plays them correctly. So it looks like my character spins around in a circle when he changes direction. Here is the code for the movement key:



Thank-you.

Login to post a reply

Server time is: 2020-02-20 08:02:56
Your offset time is: 2020-02-20 08:02:56