Python Forum

Full Version: moving a sprite
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Could somebody please tell me the best way to move a sprite on the screen in pygame. I don't mind installing another module . thanks.

It's not that I can't move the sprite at all it just doesn't move very well . some sample code would be really useful.
thats why i created a tutorial for it
https://python-forum.io/Thread-PyGame-Ba...ing-part-3
do part 2 for image loading methods.
Why thanks very much I shall check it out .
I got it sorted in the end it appeared that set_repeat was not initialized which was why it was barely moving . All sorted . Thanks again.