Tagged Questions
2
votes
4answers
329 views
RPG movement holding down button
I've been writing a simple top down mini RPG in python.
My problem is that when I move the player I have to repeatedly tap the arrow key. Each time I tap the key the player moves 5 PX in the ...
1
vote
3answers
173 views
How can I make smoother upwards/downwards controls in pygame?
This is a loop I use to interpret key events in a python game.
# Event Loop
for event in pygame.event.get():
if event.type == QUIT:
pygame.quit()
sys.exit()
if event.type == ...