Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 moving a sprite
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
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.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  [PyGame] How to create a sprite in a different module I_like_pepperjack 1 82 Aug-15-2019, 10:23 AM
Last Post: metulburr
  Need help making a sprite GalaxyCoyote 4 97 Aug-11-2019, 09:12 PM
Last Post: metulburr
  moving image with blit rwahdan 2 290 Jul-10-2019, 06:24 PM
Last Post: nilamo
  [PyGame] Keep moving pressing a key alexponceal 1 164 Jul-09-2019, 04:07 PM
Last Post: Windspar
  creating sprite mask pfaber11 5 428 Jun-12-2019, 09:39 PM
Last Post: pfaber11
  [PyGame] pygame.draw.rect function stretches across the screen instead of moving BubblesTheGiraffe 2 340 Jun-11-2019, 08:32 PM
Last Post: metulburr
  [PyGame] Making Player Sprite Ricochet of walls michael1789 4 317 Jun-03-2019, 10:45 PM
Last Post: Windspar
  [PyGame] assigning rect to sprite pfaber11 1 217 May-18-2019, 05:39 PM
Last Post: metulburr
  drawing, moving, and collision problems (pygame) SheeppOSU 26 1,857 Apr-22-2019, 03:09 AM
Last Post: SheeppOSU
  Pygame Class Sprite Placement Confusion TheHumbleIdiot 2 675 Sep-11-2018, 02:19 PM
Last Post: TheHumbleIdiot

Forum Jump:

Users browsing this thread: 1 Guest(s)