Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 2.13 KB

README.md

File metadata and controls

40 lines (22 loc) · 2.13 KB

Graveyard Shift Level Editor

Level Editor for Graveyard Shift, a stealth-puzzle game built in LibGDX where players must evade and distract “mutants” that can hear but not see.

image

The level editor allows users to start by either creating a level of specific dimensions (that can be changed later) or by loading in an existing level JSON file.

image

From there, the toolbar can be used to add different types of tiles (like goals, lighting, doors, etc.), characters (players and mutants), items (keys, bricks, and bombs), and aethetics (barrels, crates, and PCs) by clicking on squares in the visualization of what the level will look like in-game.

image

Furthermore, mutant patrolling paths can be added by connecting mutants, and dialogue triggers can be viewed, added, and edited by using the trigger menu, with options like trigger type and dimensions, and a grid of existing triggers viewable.

image

Finally, as long as the level you have built fits the rules necessary for the level to be valid (exactly 1 player, at least 1 goal, and at most 1 checkpoint), it can be outputted as a JSON file by specifying the level number it will be in the game.

Project setup

In order to install the necessary packages, without creating any large diffs, run the following command in the repo.

npm ci

Compiles and hot-reloads for development

In order to see the site and create your own levels, run the following command in the level-editor folder after setup.

npm run serve

That is all you need to use the editor!

Other instructions on using the editor, drawing mutant patrols, adding dialogue triggers, and importing/exporting JSON level files are provided on the web app.