"Just because c++ is the greatest language ever invented doesn't mean that writing games in c++ is easy and fun, and the same goes for pygame."
Linpg (Lin's python game) Engine is a game engine developed by Linpg Foundation, which aims to standardize the development of Pygame games and make the codes easier to read, expand and maintain.
Linpg Engine is developed with a modular concept. It implements many features which are commonly used in game development. Simultaneously, the Linpg Engine also maintains a high level of compatibility with Pygame, making it easy for developers to migrate existing Pygame projects to Linpg Engine or use the features which Linpg Engine provides on their own Pygame projects.
We always need your help to make Linpg the best it can be! No matter who you are, any contributors are welcome!
Join our Discord: https://discord.gg/3wz6bs5jvu
A-story-of-us, a visual novel game only contains around 100 lines of code. A great starting point for anyone who is interested in Linpg.
GFL-Last Wish, a turn-based strategy game that demonstrates some advanced features and the unlimited potential of the Linpg engine.
Required |
---|
pygame-ce |
pyvns |
numpy |
Recommended* |
---|
pyyaml |
opencv |
speech_recognition |
* All these libraries will be installed by default as some common features cannot be enabled without these libraries.
Special shout out to the developers of these libraries. They make game development using python no longer unthinkable.
pip install linpg
We also highly suggest you download and use A-story-of-us as your starting point.
First, clone this repo:
git clone https://github.com/LinpgFoundation/linpg
(Optional) If you are interested in trying out the latest build, then you should switch to dev
branch:
git checkout dev
If you have not install linpg-toolbox yet, please do so by using command:
pip install --upgrade linpgtoolbox
Run builder.py
:
python builder.py
That's it, enjoy!
The current stable version.
The latest version that is available to the public. While this version may contain patches that fix identified problems, it may also have unknown or known new bugs that can cause harm to your system or projects. This version is typically recommended for experienced developers.
-
It would be best if you can fork the "dev" branch as your starting point. If the "dev" branch does not exist, then fork the "master" branch.
-
After you have finished your work, you should request to merge to the "dev" branch instead of the "master" branch.
-
We are looking forward to seeing a pull request that contains a detailed explanation about any changes that were made.
Linpg 1 (Obsolete) | Status |
---|---|
(Hard coded) Basic implementation of the visual novel system | ✅ |
A extremely simple main menu | ✅ |
Linpg 2 (Obsolete) | Status |
---|---|
Non-hard coded and easy-to-edit visual novel system | ✅ |
A more dynamic main menu | ✅ |
Basic implementation of the combat system | ✅ |
Basic Support for video files | ✅ |
The visual novel system maintains 55 fps and the combat system reaches 45 fps | ✅ |
Linpg 3 (Current Version) | Status |
---|---|
A more modular and aesthetically modern visual novel system | ✅ |
Options menu | ✅ |
Better and more complex combat system | ✅ |
Map Editor | ✅ |
Dialogue Editor | ✅ |
Most functions work when correct input is accepted | 🔨 |
Visual novel system and combat system can maintain 60 fps | ✅ |
Video can be played at a stable 60 fps | ✅ |
Pygame native input box (English only) | ✅ |
Linpg 4 (On Schedule) |
---|
support pyglet (two libraries, one standard) |
Rewrite using a combination of c++ and cython for better performance |
Better options menu |
Enemy AI systems will be partially affected by machine learning. |
More convenient and beautiful map editor and dialogue editor |
More readable and standardized code |
Most functions are able to report errors and take the most appropriate approach after accepting incorrect input |
The combat system can have more varieties. |
The input box will support Chinese, Japanese, and more |
Linpg is licensed under LGPL(GNU Lesser General Public License)-2.1-or-later.
See LICENSE.