Skip to content

Harry-Yates/PhaserGame-RPG-Caves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caves - A Phaser 3 RPG Game

Hyper Island - If this, then that Module - Brief 3.

caves.mp4

🎮 The Game:

A keyboard is required to play this game. Player movement controls mapped to:

  • W: Move forward
  • A: Move left
  • S: Move back
  • D: Move right

To start/reset the game.

  • E: (on relevant scenes.)

There is a different Easter Egg SFX on each scene mapped to:

  • Q: Play hidden sound effect.

📂 The Brief:

  • Create a game using the Phaser 3 framework.

⏳ Time spent / Deadline:

3 weeks.

🎯 Goals:

  • Build a Game with Phaser 3.
  • Develop strong teamwork patterns - Agile Development, Scrum methods.
  • JavaScript functions.
  • Use Firebase to store the scores.

🦾 Solution:

We decided to create a top-down RPG style game, the concept inspired by Squid Games requires the player to select between caves, some of which are safe, others lead to player death.

There are particle emitting angel statues around each scene that offer clues on which cave is safe. The player has to find the correct cave under the duress of troll and golem attacks.

Building the game gave us solid learnings working with Phaser 3. Including building scenes, physics engines (Matter Physics), custom classes, working with Atlas packers, creating animations with sprite sheets and particle emitters, designing with Figma and pulling it together with JavaScript.

👨‍🎓 Learnings:

  • Javascript
    • ES6
    • Custom classes
    • Arrays
    • Functions
    • Objects
  • Phaser 3 & Matter Physics
    • Audio
    • Mouse & Keyboard Input Handling
    • Basic Enemy AI
  • Working with Tiled
    • Animation
    • Spritesheets
    • Object layers

⁉️ Future Improvements & Current Bugs:

Treasure Score Bug

  • Sometimes the score is not counted on treasure collection. This seems to be caused in instances when there are a lot of colliders.

💻 Tech used in this specific repository:

About

Mini RPG game created using Phaser.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages