Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 moving a sprite
#1
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.
Quote
#2
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.
Quote
#3
Why thanks very much I shall check it out .
Quote
#4
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.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  [PyGame] Sprite image.get_rect() moves sprite to 0, 0 michael1789 2 362 Dec-13-2019, 08:37 PM
Last Post: michael1789
  Pygame sprite not moving michael1789 1 362 Nov-10-2019, 03:54 AM
Last Post: michael1789

Forum Jump:


Users browsing this thread: 1 Guest(s)