Latest Version: 1.5.0
Pylash
is a game engine for python
. We develop pylash
in python3
and the GUI engine of pylash
is PyQt4
. With pylash
engine, you could create games in a simple way.
We use MIT License, which is a kind of free and friendly license. Also of note, you should follow the license of PyQt4
as well, because pylash
is based on it.
Pylash
is intended for creating games in a simple way. Some leading benefits making pylash
outstand are listed below:
- Cross-platform. No matter which computer OS you choose, if
python3
andPyQt4
are both available on it,pylash
is available as well. - Powerful.
Pylash
provides plenty of useful classes which almost come fromActionScript 3
, a script language forflash
. As we all know,flash
is a good tool for creating games and animations. Therefore,Pylash
takes in some of its advantages aiming to make creating game inpylash
as easy asflash
. - Easy-to-get. It's really easy to install and configure
pylash
because you don't need to follow many complex steps if you want to install it. Just installpython3
andPyQt4
in advance and all preparations are done. Without any configurations but only to download source files and copy them into your project directory, it's already available to usepylash
in your project. (P.S. You may have trouble installing and configuringPyQt4
. However, don't be worried, for there are many tutorials on the Internet to tell you how to get it done.)
With every plus there must be a minus, pylash
remains improved and enhanced. Pylash
is not designed for creating commercial products because it is not run by a team or a company. But pylash
will be a good helper for those who are freshmen in developing game and who dream of creating their own games.
With Git:
Input this command in Git Bash
to clone pylash
:
git clone [email protected]:yuehaowang/pylash_engine.git
Without Git:
The url to download the engine is here:
https://github.com/yuehaowang/pylash_engine/archive/master.zip
For pylash
is based on Python3
and PyQt4
, you need to install them in advance.
Python3 will be found here:
PyQt4 will be found here:
https://riverbankcomputing.com/software/pyqt/intro
If you find that certain bugs exist in pylash
or that you have any questions or advice, please let us know:
My email: [email protected]
My twitter: https://twitter.com/yuehaowang
Bugs can be submitted into Github Issues as well.
- Find Character
- Get Fruits
- Tower Defense
- Overview of Pylash
- A Simple Program: Hello World
- Load and Display An Image
- Sprite and Mouse Event
- Create Vector Graphics
Documentation comes soon...
- Added
Sprite.hitTestObject
method to test collision with other objects. - Added
Sprite.addShape
method to add a shape toSprite
objects for testing collision. - Added 'run.py', which is tool to run demo and examples. Try command
python run.py examples.example_name
to run an example while try commandpython run.py demo.demo_name
to run a demo. - Added more demo. Check them in 'demo/' directory.