https://github.com/pianopia/onefilerpg
https://github.com/pianopia/onefilerpg
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pianopia/onefilerpg
- Owner: pianopia
- Created: 2025-06-28T18:34:01.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-28T18:59:44.000Z (12 months ago)
- Last Synced: 2025-06-28T19:47:35.526Z (12 months ago)
- Language: HTML
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Simple RPG
This is a simple 3D RPG created with HTML and Three.js.
## Features
* **3D First-Person Perspective:** Explore a 3D world.
* **Combat System:** Attack enemies by clicking.
* **Leveling System:** Gain experience points (XP) by defeating enemies and level up. Your stats increase upon leveling up.
* **Quest System:** Receive quests from NPCs. Track your progress in the quest log.
* **Basic Exploration:** Move around, jump, and interact with objects and characters.
* **Enemy AI:** Enemies will pursue the player and attack when in range.
* **Player Health:** Take damage from enemies. If HP reaches zero, it's game over.
* **Enemy Respawn:** Defeated enemies will respawn after a short period, ensuring continuous action.
## How to Play
1. Open the `index.html` file in your web browser.
2. Click on the screen to start the game and lock the mouse pointer.
### Controls
* **W, A, S, D:** Move
* **Space:** Jump
* **Mouse:** Look around
* **Click:** Attack
* **E:** Interact with NPCs
* **ESC:** Reset the game (reloads the page)
## Game Objective
* Talk to the NPC to get a quest to defeat 10 slimes.
* Explore the forest, find and defeat the slimes.
* Report back to the NPC after completing the quest to receive a reward.
* Defeat enemies to level up and become stronger.
* Survive enemy attacks and manage your health.