[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Sluggish movement



Ok, your problem is, that you call the update code inside the event loop. Just get it out of the loop and you'll be fine :-)
http://pastebin.com/m5c1bfdb4
without propper indention python doesn't work (I'll have to get a english spell checker Mail Client ...)

Yanom Mobis schrieb:
oops... did i forget to attatch the file... here it is, in zip format

------------------------------------------------------------------------
*From:* Ian Mallett <geometrian@xxxxxxxxx>
*To:* pygame-users@xxxxxxxx
*Sent:* Thursday, May 21, 2009 9:53:23 PM
*Subject:* Re: [pygame] Sluggish movement

Of course, but I'll need the code to do so ;-)