Skip to content

A game inspired by classic top-down "2.5D" RPGs such as The Legend of Zelda.

Notifications You must be signed in to change notification settings

samfortunato/forest-quest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forest Quest

A game inspired by classic top-down "2.5D" RPGs such as The Legend of Zelda. Walk around, swing your sword, and attack enemies.

Screenshots

Forest Quest title screen screenshot

Forest Quest gameplay screenshot

About

Controls

  • Arrow keys to move
  • Shift to attack
  • Spacebar to jump

Overview

  • Custom engine written in JavaScript
  • Music and sound
  • Animation
  • Title screen/menu

In-depth

Forest Quest is a JavaScript game with a custom engine built from the ground up. Multiple classes and methods were created to perform all necessary functions, such as handling game state, audio, movement, and collision.

The concept of finite state machines were implemented for various objects, such as the game state and the player. With finite state machines, objects have an internal state, and will execute certain behaviors once per frame based on that internal state. The state is influenced by player action (moving arrow keys, navigating through a menu, etc.), or by events in-game (e.g. an enemy hitting the player will change the player's state to HURT). Using internal state in this way was a great way to easily define and customize an object's behavior.

Technologies

  • JavaScript
  • HTML5 Canvas
  • Webpack to bundle files
  • Gamepad API for controller support (controls mapped to PS3 controller)

Possible Future Features

  • Scrolling maps
  • New areas
  • In-game menu/inventory
  • NPCs (non-player characters) to interact with
  • Dialog boxes/sign posts

Credits

Tileset and player/enemy graphics were created by First Seed Material.

Music is from the game Deltarune, and is © Toby Fox.

Some sound effects borrowed from Pokemon Red and Blue and Pokemon Gold and Silver, which are © Nintendo/Game Freak.

About

A game inspired by classic top-down "2.5D" RPGs such as The Legend of Zelda.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published