Skip to content

Tiny MMORPG written in python with pyglet and twisted

Notifications You must be signed in to change notification settings

dslice25/tinymmo-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tinymmo-python is a very small, 'Minorly mulitplayer online role playing game'. Developed so that I may better understan python network game programming.

This game uses works from https://opengameart.org/.

Requires python 2.7

Tested on Mac OSX 10+

Setup using virtual environment:

git clone https://github.com/dslice25/tinymmo.git
cd tinymmo-python
virtualenv pyenv
source pyenv/bin/activate
pip install twisted pytmx pyglet pyinstaller pillow
pip install git+https://github.com/jorgecarleitao/pyglet-gui.git
pip install git+https://github.com/padraigkitterick/pyglet-twisted

Quickstart:

After setting up in a virtual environment you should be able to run the server and client. By default server listens on localhost:10000.

source pyenv/bin/activate
python game_server.py

Then in a new terminal:

source pyenv/bin/activate
python game_client.py

The game ships with a very simple world, consisting of the town of Stuck and surrounding territory.

Build the client on Mac (for mac):

source pyenv/bin/activate
pyinstaller game_client.py --add-data client_data:client_data

See pyinstaller docs (https://pyinstaller.readthedocs.io/en/stable/index.html) for additional build options.

You can now distribute build/game_client to users.

Build the client on Windows (for windows):

TODO

Build the client on Linux (for linux):

TODO

Worldbuilding

TODO

About

Tiny MMORPG written in python with pyglet and twisted

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages