2
votes
Accepted
How to make redirected player movement respond to same key?
Not tested, but you could try looking at which keys the player is pressing when they're warping and setting the velocity x/y values to 0 when they're released depending on how much the movement is ...
1
vote
Accepted
Sprite chasing a target using move_towards_ip does not move
pygame.sprite.Group.draw:
Draws the contained Sprites to the Surface argument. This uses the Sprite.image attribute for the source surface, and Sprite.rect for the position.
So we need to update ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
movement × 1030unity × 335
c# × 183
2d × 160
physics × 140
java × 74
rotation × 67
vector × 57
mathematics × 56
camera × 54
collision-detection × 49
ai × 49
c++ × 47
xna × 44
sprites × 38
libgdx × 37
3d × 32
rigidbody × 32
android × 30
javascript × 30
input × 28
path-finding × 27
animation × 24
character × 23
algorithm × 22