Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cadedupont/the-fable-of-link
- Owner: cadedupont
- License: mit
- Created: 2023-03-02T14:29:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-05T14:49:23.000Z (10 months ago)
- Last Synced: 2024-02-05T15:59:43.502Z (10 months ago)
- Topics: animation, dungeon, game, java, labyrinth
- Language: Java
- Homepage: http://cadedupont.com/projects/the-fable-of-link
- Size: 442 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 WindowsDifferent 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 modeWhile 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