Skip to content

A tile-based multiplayer game with procedural terrain generation (using the Perlin Noise algorithm)

Notifications You must be signed in to change notification settings

SammygoodTunes/Tile-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tile-Game

A tile-based multiplayer game with procedural terrain generation (using the Perlin Noise algorithm).

Currently in-development.

Preview

Preview

Controls

  • [ZQSD] -> Move player (temporary)
  • [LMB] -> Break cobblestone tiles
  • [Mouse Wheel] -> Switch item in hotbar
  • [Space Bar] -> Show map
  • [Escape] -> Pause menu
  • [Alt+Enter] -> Fullscreen mode

Setup

Before installing the necessary modules, it is recommended to set up a virtual environment. This allows for a clean workspace and avoids installing packages to your global environment.

Set up a new virtual environment. For the sake of conventions, we'll call ours venv:

python -m venv venv   # Windows
python3 -m venv venv  # MacOS / Unix	

Activate it using:

venv\Scripts\activate     # Windows
source venv/bin/activate  # MacOS / Unix

Install the pre-requisites:

pip install -e .

Run the game using:

python game\main.py   # Windows
python3 game/main.py  # MacOS / Unix

Debug mode

If you wish to launch the game with extra debugging information, use the --debug or -d flag:

python game\main.py --debug   # Windows
python3 game/main.py --debug  # MacOS / Unix

Note that using this mode will significantly impact the performance of the game, and therefore should not be used when playing normally.

Information

Developed by SammygoodTunes

Tested on Debian 12 and Windows 10

Libraries used: Pygame 2.5.2, Crayons 0.4.0

About

A tile-based multiplayer game with procedural terrain generation (using the Perlin Noise algorithm)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages