[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] OpenGL accelerated sprite engine
Well, that's the plan anyways.
I'm gonna write a sprite engine that utilizes the same ideas as the Chromium
game. Since we'll be restricting ourselves to a non-perspective orthographic
view, it should even run faster. Chromium makes a lot of use of hand coded Z
axis placements, etc.
Sprites are just textures applied to simple polygons.
Using opengl's 2d orthographic mode, one can have sprites, layers ( For
paralax), and transparency, all accelerated in the 3d hardware.
I'm reading up on it right now, and then I'll get coding in the PyOpengl
library, if the features support it.
-Daniel
--
The Meek shall inherit the Earth,
for the Brave are among the Stars!