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
  creating sprite mask pfaber11 4 106 May-20-2019, 12:43 AM
Last Post: metulburr
  [PyGame] assigning rect to sprite pfaber11 1 56 May-18-2019, 05:39 PM
Last Post: metulburr
  drawing, moving, and collision problems (pygame) SheeppOSU 26 871 Apr-22-2019, 03:09 AM
Last Post: SheeppOSU
  Pygame Class Sprite Placement Confusion TheHumbleIdiot 2 521 Sep-11-2018, 02:19 PM
Last Post: TheHumbleIdiot
  [PyGame] How to stop the sprite's movement when it touches the edges of the screen? mrmn 5 1,537 May-13-2018, 06:33 PM
Last Post: mrmn
  Moving chess piece using mouse reepio13 7 1,437 Feb-24-2018, 11:26 PM
Last Post: reepio13
  [PyGame] Need Help With Sprite ghost0fkarma 2 697 Jan-09-2018, 02:14 PM
Last Post: ghost0fkarma
  Moving an object in a circular path pi314159geek 1 2,414 Dec-25-2017, 12:06 PM
Last Post: Windspar

Forum Jump:


Users browsing this thread: 1 Guest(s)