Pygame SGE - 0.7.0

An easy to use, universal 2-D game engine.

Julie Marchant
(onpon4)

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.

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!

message

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. :)

message

evily 2014-09-17 20:44:25

may be a stupid question. but how do i install/start it once i have the source?

rcueiyncdxunifgndxuewfn 2014-11-07 19:00:25

onpon4 2014-11-07 21:32:45

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.

message

onpon4 2016-02-21 16:58:52

Yes, Six is a dependency. It is listed as such in the readme and in setup.py.

message

DuhPhD 2016-02-21 17:50:38

Awesome, thanks! I'm used to 'python setup.py install' and everything magically working (but usually not). I appreciate you put that in the readme and setup.py.

message

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.

message

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!

message

Nathaniel 2016-08-22 01:47:26

you gotta learn to code print("nooby people dez days")

message

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.

message

alex carey 2016-06-09 08:21:09

Hey that's mine

message

onpon4 2016-06-19 09:57:24

What is? The Pong clone in the screenshot is entirely custom-made and doesn't use any pre-existing media. I even generated the sounds myself with Sfxr.

message

ivan huang 2016-09-08 13:48:39

Your game doesn't work bro

message

onpon4 2016-09-08 15:55:00

This isn't a game. It's a library. Pacewar, ReTux, and Kitten Command are the games I have developed with it so far.