Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A game development library based on the Python programming language. It wraps SDL for easy use alongside Python.
12
votes
Accepted
Pygame surface rotation, rect rotation or sprite rotation?
Conceptually you've got it, just think of the rectangle as a helper for you to deal with position and collision detection of your image. To implement it you could use:
mySprite.image = pygame.trans …
3
votes
Accepted
Grouping surfaces in pygame to get an object with two movement points
Regarding vectors: this guy 'Phyces' made a few tutorials and he included a really useful 2D vector class. vec2d class - you could use it to define your position and velocity of each element, and use …