About the SGE

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.

The SGE is written in and for Python. It is currently implemented with Pygame as the backend. Alternative implementations will be developed in the future, after the specification stabilizes, likely with PySDL2 and/or Pyglet.

The SGE is free/libre software (see the Free Software Definition for more information), and the documentation is also free/libre.

The SGE was originally a sub-project of another project called "Stellar", hence its original name, the "Stellar Game Engine".

Screenshot of a Pong game made with the SGE.

The SGE has many great features, including:

  • Window size management: Just tell the SGE how you want the game to be scaled and it will handle the rest.
  • Advanced collision detection: The SGE's powerful direction-based collision detection makes all kinds of physics much easier.
  • Parallax scrolling: Simply tell the SGE what the background layers are and how fast they move, and you can achieve a magnificent 3-D illusion in seconds!
  • Image transformation: Rotate, scale, and blend images as you please!
  • Split-screen views: Easily make as many views as you want, in any configuration you like! Great for multiplayer games.
  • Simple mouse interaction: The SGE treats the mouse as a game object, making all kinds of interactions with the mouse much simpler.
  • Delta timing: Game running slow? With the SGE's built-in delta timing support, you can easily eliminate that feeling of sluggishness!
  • Platform-independence: A program written for the SGE can run on just about any PC, including Windows, Mac OS X, and GNU/Linux systems.
  • Free/libre software: No draconian EULA, no restrictions on its use, and no digital restriction mechanisms. With the SGE, you are in control!

Want to see some of the SGE's features in action? Watch these demos! None of them use any special tricks; these are all using only normal features of the SGE.