Summary
This project, developed as a university assignment for a multimedia class in 2019/2020, aims to create a 2D game named "Raft" built with Phaser v3.22.0.
In "Raft", the main character, unjustly accused of stealing the Mona Lisa, must escape from an island where they are imprisoned. Players will navigate through various scenarios, solving puzzles involving Mathematics, Portuguese History, general knowledge, and more, to collect items necessary for building a raft and escaping the island.
The game includes a timer to track how long it takes the player to complete the game and a counter for attempts. Each failed attempt, such as being attacked by a gorilla or a tiger, adds a 30-second penalty. Additionally, "Easter eggs" hidden throughout the game reduce the overall time by 15 seconds each when found. Players who finish the game in the shortest time will be ranked on a leaderboard accessible from the main menu.
To run this project, you need:
- A web browser (preferably the latest version of Chrome, Firefox, or Edge)
- A web server (optional, but recommended for better performance)
-
Clone the repository:
git clone https://github.com/sofmeireles/RAFT/ cd RAFT/projeto -
Open the game:
You can use a local web server to run the game. You can use any web server of your choice. Here is an example using
http-serverwhich is a simple, zero-configuration command-line HTTP server:-
Install
http-serverglobally using npm:npm install -g http-server
-
Run
http-serverin the project directory:http-server
-
Open the provided URL in your web browser (usually
http://localhost:8080/main.html).
-
- Navigate through the scenarios by moving the character with WASD keys.
- Solve various puzzles to collect wood items needed for building the raft.
- Avoid obstacles and enemies to escape the island.
- Discover "Easter eggs" to reduce your overall time.
- Try to complete the game in the shortest time to be ranked on the leaderboard.
- This project was developed as a project for a multimedia class in 2019/2020.