Grease: A component-based game engine and rapid development framework
Project description
Grease is a pluggable and highly extensible 2D game engine and framework for Python.
The intent of this project is to provide a fresh approach to Python game development. The component-based architecture allows games to be constructed bit by bit with built-in separation of concerns. The engine acknowledges that all game projects are unique and have different requirements. Thus Grease does not attempt to provide one-size-fits-all solutions. Instead it provides pluggable components and systems than can be configured, adapted and extended to fits the particular needs at hand.
The goals of the project include:
Making Python game development faster and more fun by allowing the developer to focus on creating their game rather than getting bogged down in architecture, low-level apis and adapting ill-fitting tools together.
To provide pluggable and extensible parts that implement first-class techniques and algorithms that can be leveraged for many projects.
To fully document the engine and provide examples that demonstrate best practices for others to base their projects on.
To facilitate outside contribution of parts and ideas into the framework that have proven useful in the wild.
To provide optional native-code optimized parts for maximum performance, but also provide equivalent parts coded in pure Python for ease of installation and distribution.
This being the first release of this project, not all of these goals have been realized yet, but I feel the project is well on their path.
Requirements
Grease is platform-independent and should run on any operating system supporting Python and Pyglet.
The following are required to build and install Grease:
Python 2.6
Pyglet 1.1
Development Status
Grease is alpha software under active development. The APIs may change in future releases, however efforts will be made to minimize breakage between releases.
Installation
To install Grease from the source distribution or repository use:
python2.6 setup.py install
Once installed you can try it out by running the unit tests and the included example game, but make sure you leave the grease source directory first or they will not work properly:
cd python2.6 -m grease.test.run_all python2.6 -m grease.examples.blasteroids
Note on some platforms, such as MacOS X, you will need to use pythonw2.6 to run the tests and example game.
Note, you can also try out Grease without installing it by setting your PYTHONPATH to the source directory:
export PYTHONPATH=`pwd` python2.6 test/run_all.py python2.6 examples/blasteroids.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file grease-0.1.zip
.
File metadata
- Download URL: grease-0.1.zip
- Upload date:
- Size: 816.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00d3a8b76b5a382e786bcfe72655784a46bc3bdb44e3aa82894d279865d219de |
|
MD5 | dd297cecf62f039ab1234abfc13d7f26 |
|
BLAKE2b-256 | fa8e05ca4dd5d6dde5b0cd6ff20e191c3769f08f88ba07a34a2dc4699e5e181f |
File details
Details for the file grease-0.1.tar.gz
.
File metadata
- Download URL: grease-0.1.tar.gz
- Upload date:
- Size: 787.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0aec046f987dff238c5a417b67e3a0b3a6a3a924bdb479afe2a0bfb35d07a29 |
|
MD5 | 3a6d2f5b196399f1d2a80afa727a2c2d |
|
BLAKE2b-256 | c026c3555139c9d5bfc34f935141d78f9f23ebcf2d0f6682c87c9987b46b4ce5 |