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.

Source Distribution

Yodine-0.3.2.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Yodine-0.3.2-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file Yodine-0.3.2.tar.gz.

File metadata

  • Download URL: Yodine-0.3.2.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for Yodine-0.3.2.tar.gz
Algorithm Hash digest
SHA256 fb2718289e51f9192ed69b172caa874e99ca5cb05dd8dcffeabcd18570c1b64c
MD5 3c8f925a75a6a76cd820e62f51c2b784
BLAKE2b-256 b5740d5d22e26afcbadea63ec551b29366b8a2302a20f6eeee7da331e0c4ceaa

See more details on using hashes here.

File details

Details for the file Yodine-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: Yodine-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for Yodine-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cbdabbbfca4fad1561ae2cf397dfe10e69db9849e52903d241e8f4577831be76
MD5 69ac9a52ef83361de4f03b73fb9cb911
BLAKE2b-256 c29eaa59abf499ffa0c1390685e7337a96eb1558fcf6af630dba6ad97d070093

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page