Skip to content

Spiralexe/MapleWeb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Maple

This is a fork of Nodein Maple Web.

Important

All graphics and sound assets are rights reserved to Nexon. This open source project is for research and educational purposes only, with no commercial intent.

Enhancements

  1. Teleportation functionality implemented.
  2. Mobs now render with movement and health bars.
  3. The stats menu is fully operational, incorporating Maple's calculations for damage.
  4. Damage indicators are functional.
  5. Players have the ability to walk.
  6. Players can shoot arrows to defeat Mobs.
  7. Full-screen mode is enabled.
  8. Converted the project to TypeScript to facilitate easier future development (Note: This is not perfect but required several days to complete).
  9. Added touch controls for mobile devices.
  10. EXP is accurate, and player can level up by killing mobs.
  11. Mobs drop items on death.
  12. Player can pick up items from the map (Still need to improve this).
  13. Multiplayer support with real-time player interaction, chat, and synchronized monster combat.
  14. Cab/Taxi transportation system between towns.

Multiplayer Features

The game now supports real-time multiplayer with the following features:

  • Multiple players can join the same map and see each other
  • Players can chat with each other using chat bubbles
  • Monster combat is synchronized between players
  • Players can see other players attacking monsters
  • Monster drops are visible to all players

Setup Instructions for Multiplayer

Prerequisites

  • Node.js (v14 or newer)
  • npm or yarn

Installation

  1. Clone the repository
  2. Install server dependencies:
npm install
  1. Install client dependencies:
cd TypeScript-Client
npm install
cd ..

Running the Game

Development Mode

  1. Start the multiplayer server:
npm run dev
  1. In a separate terminal, start the client:
cd TypeScript-Client
npm run dev
  1. Open your browser and navigate to http://localhost:5173

Production Build

  1. Build the client:
cd TypeScript-Client
npm run build
cd ..
  1. Start the server which will serve the client files:
npm start
  1. Open your browser and navigate to http://localhost:3001

Game Controls

  • Arrow keys: Move character
  • Ctrl: Attack
  • Alt: Jump
  • Z: Pick up items
  • Enter: Open chat window
  • Esc: Close menus

Screenshot 2024-03-10 at 1 18 04 PM Screenshot 2024-03-10 at 1 17 28 PM

Screenshot 2024-03-10 at 1 21 12 PM Screenshot 2024-03-10 at 1 18 13 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.0%
  • JavaScript 2.9%
  • Other 1.1%