Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cadedupont/the-fable-of-link

Labyrinthian adventure game in Java
https://github.com/cadedupont/the-fable-of-link

animation dungeon game java labyrinth

Last synced: 11 days ago
JSON representation

Labyrinthian adventure game in Java

Awesome Lists containing this project

README

        

# The Fable of Link

A labyrinth-style game written in Java.

## Downloading the Project

Download as a ZIP or clone this repository to your local machine by running the following command in your computer's terminal:

```bash
$ git clone https://github.com/cadedupont/the-fable-of-link.git
```

Navigate to the root directory of project:

```bash
$ cd /path/to/the-fable-of-link
```

## Running the Game

The following files are included in the `scripts` folder to run the game:

`build.sh` for MacOS/Linux
`build.bat` for Windows

Different build scripts are included based on OS to ensure that the tile images fit perfectly within the game window.

`build.sh` uses the `bash` shell and `build.bat` uses the `cmd` shell.

Before executing one of the scripts, you'll have to add executable permissions to the file for the user. If you're running a `bash` shell, you can run the following command:

```bash
$ chmod u+x path/to/build.sh
```

For Windows, `.bat` files should be executable by default. If it's not, you can right-click on the `.bat` file, click `Properties`, and add the corresponding permissions from there.

Then, run the following command in the terminal at the root directory of the game's folder:

```bash
$ ./scripts/build.sh
```

or

```bash
$ scripts/build.bat
```

and begin playing the game. Compiled class files will be placed in the `bin` folder.

If neither script is used to run the game, a default window size will be provided automatically.

## Controls

While in regular mode:

`` - Move Link

`` or `` - Throw boomerang

`` - Save current tile/pot map

`` - Load tile/pot map saved in map.json file

`` - Toggle edit mode

While in edit mode:

`` - Add/remove tiles

 - Click on empty space to add a tile

 - Click on tile to remove tile

`

` - Toggle placing either tiles or pots

Run into pots to slide them across the room into a wall.

Throw a boomerang at a pot to break the pot in its place.

Slide a pot into another pot to break both pots.

Broken pots will be removed from the screen after a short period of time.

## Screenshots



green_play
blue_play
red_play
green_edit