python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why does my pygame program slowdown, when I move my mouse?
So I am trying to program a pong game in pygame, python. Whenever I move my mouse fastly, the ball is slowing down. With my mouseposition, I move my paddle, so I need mouse motion. How can I fix this ...
xodat51
Votes: 0
Answers: 1
How to ignore all pending events? `pygame.event.clear()` does not seem to do anything
My use case
Let's say I have a game which is interacting with the user, but in some circumstances it needs to do the following:
show some feedback,
stop responding to any user input (except maybe the...

Marcin Owsiany
Votes: 0
Answers: 0
Pygame sprite rotation changes its collision
I'm making RPG game on pygame and one of the skills animation requires rotation on its center, the thing is when it collide with other sprites the collision area changes because of the rotation.
Here ...
Hawanity
Votes: 0
Answers: 0
Use python to open right click menu
So i'm making a GUI with pygame, with some game elements that I need pygame to do.
But I need to make a context menu on right click.
It doesn't have to be in pygame, it could be a command in the os o...
TheMystZ
Votes: 0
Answers: 0