Skip to main content

Medieval Attack-Trade-Alliance Game Engine

Project description

For my HSC major project, I am creating a simple MMORPG that allows players to play together on either a local network or over the internet. The game can be played singleplayer, but is created with the multiplayer experience in mind.

Automatic Setup:

To run the game, you should only need python installed (Python 3.4 is the best). Then, in a Terminal, Powershell or Command Prompt window, run: > py launcher.py

Use the command line arguments detailed at the bottom of this readme to control the game’s behaviour.

Manual Setup:

If for some reason, the launcher does not work, the game can be launched manually by following a few steps. Firstly, ensure that your computer has the following dependencies installed:

Windows

Required:

Linux:

Required:

  • python3

Optional:

  • python3-dev

  • cython3

Required Python3 Packages (installed using pip3):

  • pygame

  • noise

The next step is to compile or pythonify the api (instructions in the api folder README).

Then, just run the main.py file in the Python interpreter, optionally using the below command line arguments.

Command Line Arguments:

Presently, there are only 3 command line arguments which can be used. These are:

The –mode Argument:

The –mode argument is used to set which mode the game should run in. This argument requires a second keyword immediately following it. There are 3 possible keywords - COMBINED (Default. Starts a server in the background and launches a client game in the foreground.) - SERVER (Launch a dedicated server available over a local or remote connection.) - CLIENT (Launch a client-side game which can connect to external server games)

If the above is ambiguous, the argument is used as such: > python3 main.py [–type keyword]

The –disable-mods Argument:

The –disable-mods argument does exactly what it sounds it should. It disables any mods and functionality beyond the base game. This argument is useful for temporarily playing without mods.

This argument requires no extra keywords: > python3 main.py [–disable-mods]

The –address Argument:

This argument is only used to prefill an IP address for a client game upon launch. It serves no purpose on a server game.

This argument requires a keyword, the ip address: > python3 main.py [–address address]

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

mata-0.1.1.tar.gz (5.2 MB view details)

Uploaded Source

File details

Details for the file mata-0.1.1.tar.gz.

File metadata

  • Download URL: mata-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mata-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6bfa5b3070a86493ec5fc1d59737f47731bb07556b71dc549d0d49c5ca2060a5
MD5 c179770d45fe67699f2649d64155546c
BLAKE2b-256 b5cd9c774aad5e63c4f9edd6da05d98225935f83f7f3620901c00c20c1940541

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