Tagged Questions
1
vote
2answers
116 views
Pygame's rotation methods have crippling issues, but is it me or Python's pygame?
http://www.youtube.com/watch?v=lNJFxvR6ex8&feature=youtu.be
On rotate and rotozoom, can't find fixes on these on the internet, anywhere.
Basically, the video is showing 4 things in this order:
1. ...
1
vote
2answers
404 views
Pygame surface rotation, rect rotation or sprite rotation?
i seem to have a conceptual misunderstanding of the surface and rect object in pygame.
I currently observe these objects this way:
Surface
Just the loaded image
rect
the 'hard' representation ...
2
votes
2answers
135 views
Grouping surfaces in pygame to get an object with two movement points
I would like to create a simple tank using pygame. One would drive the tank by controlling he velocities of two caterpillar tracks. They should be the two single movement points of the vehicle.
I'm ...
1
vote
1answer
291 views
OpenGL: Rotating cannon about non-centre position?
So I have a "cannon" object (basically a long cylinder) and I want to be able to control its angle. The code I have now is:
glPushMatrix()
glTranslatef(self.position.x,2.5,self.position.z)
...