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 / Direction Changing [2D]

Author
Message
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 18th Mar 2009 20:34 Edited at: 19th Mar 2009 07:18
Hello, i have a problem. When i walk left and right my sprite moves fine. He will go left then right and animate perfectly. The problem is when i go left for awhile then go up he wont switch to the first frame of the up animation. Instead he will look right and then go up.


So basically its almost like hes turning but it screws things up and i dont want this. I know its really hard to explain, so heres a video of the problem.

http://www.youtube.com/watch?v=a8NQV8FZmhU


Any idea what is causing this? here is my code.





Also on a simpler note. How would i do this:

dbText(0, 0, "Strength", str2);

I can display the text strength or my string but not both. Thanks
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 19th Mar 2009 18:10
Bump
DaddyJ
15
Years of Service
User Offline
Joined: 17th Mar 2009
Location:
Posted: 20th Mar 2009 17:50
I already answered the former question, it just hasnt been approved yet, now for the former question

you can use strcat()
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 20th Mar 2009 21:23
where can i see the answer to the first?
Scottie Dog
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location:
Posted: 23rd Mar 2009 14:45

Login to post a reply

Server time is: 2024-09-30 21:19:32
Your offset time is: 2024-09-30 21:19:32