<-- this is shared/teaser/slider-teaser.html.erb -->
Project

What is Dark Ghost Adventures?

Dark Ghost Adventures is a browser-based web game that combines a 3D basebuilder with a 2D dungeon shooter. The player starts in a small dark fantasy village, collects resources, upgrades buildings and strengthens a ghost character called the Dark Ghost. Regular resources such as wood, stone, iron and wheat are produced in the village, while the special resource, darkstone, can only be earned inside the dungeon.

Techstack? Techstack!

The project is built with Three.js, Phaser, PHP and PostgreSQL. The Three.js part presents the village as an interactive 3D scene. Players can inspect buildings, open modals, start upgrades and manage their resource economy. The world also contains shadows, a local day-night cycle, animated smoke and flickering lanterns, so the village feels more alive than a static menu.

Into the Darkness!!!

The dungeon is implemented with Phaser and plays like a compact vertical shooter. The player controls the Dark Ghost on desktop or mobile, dodges enemy projectiles and fights through waves of enemies until a boss appears. Bosses have several phases, a health bar and different attack patterns. Dungeon runs cost normal resources, but reward darkstone and highscore points. This creates a loop where the village supports dungeon attempts, and dungeon rewards unlock stronger village and ghost upgrades.

Safety first!

The backend is a small PHP REST API connected to a PostgreSQL database. It handles authentication, account settings, building states, upgrade queues, dungeon levels, run starts, run finishes and highscores. Dungeon runs are generated on the server with enemy IDs and rewards, so the client does not fully decide what was earned. This is not meant to be a perfect anti-cheat system, but it makes the game state more reliable.

Difficulties ...

A main goal of the project was to connect different technologies into one coherent experience. The game needed to work locally and on the FH webspace, support desktop and mobile controls, provide a readable interface and still feel playful. The result is a small but complete webgame prototype with a persistent progression loop, a 3D village, a 2D dungeon, account management, highscores, audio and a consistent dark fantasy theme.

Website-Trailer

Appendices

Creators