Skip to content

Repository files navigation

Running and Building the Game

Important

If you download the project from GitHub, the game will not work as-is because all audio and video resources are missing.

Requirements

Windows and Linux

The game must be run with Python 2 and the following library versions:

pygame==1.9.6
cx-freeze==5.0.1
psutil==5.8.0

macOS

The game must be run with Python 3 and the following library versions:

pygame==2.1.2
cx-freeze==6.13.1
psutil==5.8.0

Running the Game

Before running the code, update the following settings:

  1. Open:
FileProgetto/GlobalHWVar.py
  1. On line 12, set the operating system. Choose one of the following values:
"Windows"
"Linux"
"Mac"
  1. On line 14, set the usando_python3 variable:
usando_python3 = False

Use False if you are running the game on Windows or Linux.

usando_python3 = True

Use True if you are running the game on macOS.

Creating the Executable

Before creating the executable, update the following settings:

  1. Open:
FileProgetto/setup.py
  1. On line 4, set the operating system. Choose one of the following values:
"Windows"
"Linux"
"Mac"
  1. Open:
FileProgetto/GlobalHWVar.py
  1. On line 13, set the eseguibile variable to True:
eseguibile = True
  1. Run the script for your operating system:

Windows

Convertire_in_eseguibile_windows.bat

Linux

./Convertire_in_eseguibile_linux.sh

macOS

./Convertire_in_eseguibile_mac.sh
  1. The executable will be created inside the build folder.

About

The game I published on Steam. Here is only the code, all the audio/video resources are not committed

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages