Skip to content

Simple game engine produced for making easier to build more complex games using Python.

License

Notifications You must be signed in to change notification settings

CarlosMatheus/Pygin

Repository files navigation

Pygin

Pygin is a simple game engine made using Pygame. The main purpose of this engine is to make the development of a more complex game using python easier. This engine includes support for collisions, meshes, materials, game objects, and scenes.
The elements used are very similar to the ones used in the engine Unity.

Getting Started

These instructions will get you the Pygin package ready to run on your local machine if you use Linux. Instructions for Windows and Mac would be quite similar.

Prerequisites

Make sure you have python3 and pip3 installed.

Install Pygin

Now you will just have to install the pygin package. Then install pygin using pip:

$ pip3 install pygin

About

This project aims to create a game engine to make easier the process of game development using python. To understand a little bit more about how the code is structured visit the wiki.

Usage

The project doesn't have official documentation yet.

But the usage is similar to Unity's scripts on GameObjects making use of start and update functions. There are also GameObjects and they have components, similarly to Unity.

The overall structure of a project that uses pygin can be seen on the game example bellow.

Example Games

game game

Check out the game Balance, a simple and challenging arcade game made using Pygin.

Notes about documentation and contributing

If any substantial change is made, please, help out with the documentation using the wiki.

Upgrading version on PyPI

Make sure you have the latest versions of setuptools and wheel installed:

python -m pip install --upgrade setuptools wheel

Now run this command from the same directory where setup.py is located:

python setup.py sdist

This command will generate a file in the dist directory.

Now you’ll need to install Twine:

python -m pip install --upgrade twine

Once installed, run Twine to upload all of the archives under dist:

twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

You will be asked your username and password from your Pypi account, in which you must have access to the project to upload.

After this, the version on Pypi is already updated.

Now you should delete the dist folder.

About

Simple game engine produced for making easier to build more complex games using Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages