Pygame SGE - 0.21
An easy to use, universal 2-D game engine.
The SGE Game Engine ("SGE", pronounced like "Sage") is a general-purpose 2-D game engine. It takes care of several details for you so you can focus on the game itself. This makes more rapid game development possible, and it also makes the SGE easy to learn.
This implementation of the SGE uses Pygame as a backend.
You may also be interested in xSGE, which provides some extra modules for games under the GNU General Public License. You can find xSGE here.
- Added sge.game.delta_max, to make it possible to increase the framerate.
- Window projections (including custom mouse cursors) now have Z-axis values.
- To limit the damage caused by Pygame's lack of support for Unicode paths, code that converted relative paths to absolute paths has been removed.
Pygame.org account Comments
Mike 2014-07-10 18:20:10
Aegar 2014-09-07 00:41:07
This is REALLY awesome. It has the potential to be the Flixel of Python. You should set up a proper forum and start a community around it so it can gain some momentum!
onpon4 2014-09-07 01:30:17
Given the number of responses I've seen, I don't think a forum would be very active. Actually, I think it would turn out to be a ghost town. It doesn't help that the SGE so far is mostly all talk, with only a Pong implementation developed using it, so I'm working on fixing this by developing a far more interesting game that I've wanted to develop for some time.
If you want to help, you can do so simply by using the SGE to make games, suggesting new features, and reporting bugs. :)
Dude 2014-11-07 19:01:53
DuhPhD 2016-02-21 16:39:57
Looks like 'six' is required for Python 2.7 (error ImportError: No module named six). Hello World works after I installed it.
DuhPhD 2016-02-21 17:36:41
What is the SGE-ic way to do sprite animation with multiple animations? E.g. a stationary animation, running animation, jumping, falling, etc. I can accomplish this with the current setup in a less straightforward way than I think you intended.
onpon4 2016-02-21 18:16:31
You have multiple sprites, one for each animation, and you change an object's sprite to change the animation. Here's an example of code that does this from one a game I made:
DuhPhD 2016-02-21 18:27:28
Ah, OK. I had it in my head to have a single sprite for all animations and just fiddle with the image_index. I guess I'll create a Character class as a container for all my sprites and switch them that way. Thanks!
DuhPhD 2016-02-28 00:36:25
What do I do when I have multiple sprites with different numbers of frames? It seems when I set player.sprite to a new sprite, it assumes the same number of frames from the original sprite (i.e. the very first sprite assigned to the player). Thus, if I set player.image_index to an index that exceeds the number of frames in the original sprite, the index is automatically reset to 0.
EDIT: Nevermind, I can't code.