Omnimaga

General Discussion => Technology and Development => Computer Programming => Topic started by: Scipi on October 23, 2011, 11:29:54 am

Title: Small bug that I need help fixing
Post by: Scipi on October 23, 2011, 11:29:54 am
Hello,

I'm nearly finished the movement engine for Daemons but I'm running into a bug. The view is moving faster than the character, particularly moving up/left.

Here's the code:

http://pastebin.com/5BhjsFN9 (http://pastebin.com/5BhjsFN9)

Edit: Here's the project if you want to see the bug yourself/look at the entire source :D http://dl.dropbox.com/u/10573921/Daemons.zip (http://dl.dropbox.com/u/10573921/Daemons.zip)
Title: Re: Small bug that I need help fixing
Post by: Scipi on October 24, 2011, 03:02:33 pm
Ok, well. Since it appears that no one can figure out the bug, is there a way I could make smooth animations for moving without freezing the entire program in a while loop? I don't want to do threads but the way I do it now doesn't seem to work properly. :S