Skip to main content

A simple pyglet-powered 2D game engine, with simple multiplayer support.

Project description

Briefly put, Yodine is a special, flexible, fun, easily extensible game, written in Python, with advanced plugin support, that uses pyglet and an involved Entity-Component-System infrastructure.

It is easy to write plugins for Yodine. And it is easy to feel the structure. (Just don’t let the cows do so. They’re evil monsters.)

Notice: the game is currently in a development stage. Expect bugs and a lack of features.

How to play

In order to install the game, simply run:

pip install yodine

Running it is quite simple, too:

python -m yodine.launcher

Writing Plugins

In order to write a plugin for Yodine, you may run the following module:

python -m yodine.utils.plugin_init

After answering a few questions, a generous, helpful filesystem structure will be generated. The files are heavily commented, to aid you in your quest to add to the game. Let’s build a castle?

Editing Maps

In order to create or edit a map for Yodine, simply run:

python -m yodine.editor my_map.save.json

Hosting Servers

In order to host a server for Yodine, run the following:

YODINE_DEDICATED=y YODINE_LISTEN=8081 python -m yodine my_map.save.json

Of course, replace the 8081 in YODINE_LISTEN=8081 by the desired listen port. The standard should be 8081, but since the default is not listening at all, there is unfortunately no obvious way to tell that.

License

This project and its source code are available under [the MIT license](https://opensource.org/licenses/MIT), under the autorship of Gustavo Ramos Rehermann (rehermann6046@gmail.com).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Yodine, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size Yodine-0.3.2-py3-none-any.whl (32.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Yodine-0.3.2.tar.gz (28.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page