A game engine based on pygame, which aims to make game development easier.
Project description
English | 简体中文 | 繁體中文
:speech_balloon: Preamble
"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."
:sparkles: About Linpg Engine
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
:crystal_ball:Some awesome games developed using Linpg
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.
:hammer_and_wrench: Dependencies
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.
:computer:Installation
Recommend:
pip install linpg
We also highly suggest you download and use A-story-of-us as your starting point.
Building From Source:
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!
:world_map: Branches
master:
The current stable version.
dev:
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.
:books: How to contribute
-
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.
:construction: Changes in Linpg Engine through the generations
Linpg 1 (Obsolete) | Status |
---|---|
(Hard coded) Basic implementation of the visual novel system | :white_check_mark: |
A extremely simple main menu | :white_check_mark: |
Linpg 2 (Obsolete) | Status |
---|---|
Non-hard coded and easy-to-edit visual novel system | :white_check_mark: |
A more dynamic main menu | :white_check_mark: |
Basic implementation of the combat system | :white_check_mark: |
Basic Support for video files | :white_check_mark: |
The visual novel system maintains 55 fps and the combat system reaches 45 fps | :white_check_mark: |
Linpg 3 (Current Version) | Status |
---|---|
A more modular and aesthetically modern visual novel system | :white_check_mark: |
Options menu | :white_check_mark: |
Better and more complex combat system | :white_check_mark: |
Map Editor | :white_check_mark: |
Dialogue Editor | :white_check_mark: |
Most functions work when correct input is accepted | :hammer: |
Visual novel system and combat system can maintain 60 fps | :white_check_mark: |
Video can be played at a stable 60 fps | :white_check_mark: |
Pygame native input box (English only) | :white_check_mark: |
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 |
:memo: License
Linpg is licensed under LGPL(GNU Lesser General Public License)-2.1-or-later.
See LICENSE.
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
Built Distributions
Hashes for linpg-3.8.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f4c0c23069a989745ce9d923efa3b03c8be9ac209a95143e5c62fe5627bcb0f |
|
MD5 | 21689aa569069f16aafb5a9505c01eea |
|
BLAKE2b-256 | 00446bb39cac8fecbdb4a5c35b83674693d393368d1345b5df40caff495e6108 |
Hashes for linpg-3.8.0-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 444c6d6a90788b28142a38ccd0f7773a51fa5bd431d4129762ecc5304eb95b5c |
|
MD5 | 62c70bbe00b1c952f8b7c1083530d4dd |
|
BLAKE2b-256 | ead1dc9e6b74360ba1c648dfdca1a1ab2c0fd8e8fe99ba869941dcd7d10b583c |
Hashes for linpg-3.8.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7355f3d7ad318ac186e6d6f780af76c9ba6be75bd7608d5a83917ee36f25e4c3 |
|
MD5 | b1cdfb7ecd88014d7892ddc9075c6b3c |
|
BLAKE2b-256 | bde8142135ce689c4f7e8f01c9127f8586de5274e4cf66c160d24f6cff8773e4 |
Hashes for linpg-3.8.0-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797080d4a3d02fc78c2a3499a619048a62b874ee4b63f57b2a94e69bac6e68f6 |
|
MD5 | 113c293a6e92550b4c14b0c1be683c42 |
|
BLAKE2b-256 | 614f558af32c43cb9064bbdf24653c1ba67c60319aa12d6fce12118c8d7a68ff |
Hashes for linpg-3.8.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48a79ead4ddec33ef75e44ea93d71f64733438f4363a113055d19621123d556 |
|
MD5 | 51a214fbbfd52c53449bc8757e5331a0 |
|
BLAKE2b-256 | 77464443044111473ae3c94e2012b3f5fb4dda7c7eebe8069e8b78fa4fa11bae |
Hashes for linpg-3.8.0-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75125e01d5ba7bb86576b005a9cbf81d0f3d57ee490b5794dfab0a4454b5a28 |
|
MD5 | 33f8489f43e8013885630c1e7b0d26a3 |
|
BLAKE2b-256 | e5badbdd300c7abb30d131b121ebf870bf71978cc34ed85c1ee4469e51dd5fd3 |