nightm4re/Ghostinator
1
0
Fork
You've already forked Ghostinator
0
The Ghostinator is an audio signal processing horror game, placing you in the shoes of a ghost hunter who has to rely on audio processing algorithms to locate invisible ghosts by the sounds they make.
  • Java 72.1%
  • Python 27.9%
2023年06月11日 21:20:11 +02:00
doc Remove redundant files and finalize docs. 2022年09月26日 23:25:15 +02:00
gradle/wrapper Fix Composite Build. 2023年06月11日 21:20:11 +02:00
images Use balanced image scaling for real time movement. Add instructions. 2022年09月27日 00:08:06 +02:00
java/de/gurkenlabs/ghostinator Fix Composite Build. 2023年06月11日 21:20:11 +02:00
misc Add main menu. 2022年09月21日 03:00:23 +02:00
python Add run instructions. 2022年09月27日 22:33:15 +02:00
rooms Use balanced image scaling for real time movement. Add instructions. 2022年09月27日 00:08:06 +02:00
screenshots Switch to arrow controls and extend documentation. 2022年09月26日 01:26:57 +02:00
sounds Implement level changing and win/lose conditions. 2022年09月22日 23:52:12 +02:00
sprites Implement ghost probes and tile feedback. 2022年09月20日 00:04:29 +02:00
.gitignore gitignore redundant files. 2022年09月27日 22:35:52 +02:00
build.gradle Add run instructions. 2022年09月27日 22:33:15 +02:00
config.properties Switch to arrow controls and extend documentation. 2022年09月26日 01:26:57 +02:00
README.md Add run instructions. 2022年09月27日 22:33:15 +02:00
settings.gradle Fix Composite Build. 2023年06月11日 21:20:11 +02:00

Ghostinator

This repository contains the source code and assets for Ghostinator.

How to Run

The Ghostinator_preprocessing.py script is located in the python folder. It searches the rooms folder for JSON files (the room definitions from the HouseExpo corpus) and generates the images in the rooms/computed folder and the level definitions in the rooms/levels folder based on this. For the script to run, the Python packages pyroomacoustics, shapely, tqdm must be installed (tested with Python 3.10). Since the outputs are already included in the repository and generating them takes some time, this step is probably not too important. It would be more relevant if the game is then to be extended by further levels.

The entire repository is set up as a Gradle project, i.e. the Java programme can be run by means of gradlew run in the main directory (alternatively, the Java programme can also be called up via the entry point java/de/gurkenlabs/ghostinator/Program.java). This requires a JDK 17. With the current configuration, it is also necessary that the LITIENGINE repository has been cloned into a folder parallel to the main directory. The engine could also be obtained dynamically from the Maven Central repository by changing the dependency in build.gradle to implementation 'de.gurkenlabs:litiengine:0.5.2' and removing the includeBuild "../litiengine" entry from settings.gradle.