Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sprite

Pygame - Sprite Movement Causes Layers

Im trying to make a rain effect with pygame but it seems as if the background is not cleaning up be… Read more Pygame - Sprite Movement Causes Layers

Pygame Sprite Not Moving While Jumping

I'm confused why my sprite is not moving while jumping. I've checked several times and chan… Read more Pygame Sprite Not Moving While Jumping

How To Make A Pygame Sprite Group Move?

I made a pygame.sprite.group for my enemies. I can display them on the screen, but I don't kno… Read more How To Make A Pygame Sprite Group Move?

Sliding Sprites

I want my sprite to slide like he's on ice. So if he's on ground then he can walk normally,… Read more Sliding Sprites

Calculate Gravity/jump In Pygame

What is the best way to calculate gravity in pygame? I basically just need it so when the player pu… Read more Calculate Gravity/jump In Pygame

How To Make An Image In Pygame Stay Still When Rotated?

So I'm trying to make an image point towards the mouse at all times, and it sorta works. The im… Read more How To Make An Image In Pygame Stay Still When Rotated?