A modular JavaScript RPG game with clean video intro support.
-
Start a local server:
python3 -m http.server 8000
-
Open your browser and go to:
http://localhost:8000
The game now uses a clean video-only intro system. To use this:
- Create a video file named
intro.mp4
- Place it in the
/video/
folder asvideo/intro.mp4
- Recommended specifications:
- Resolution: 900x600 (matches game canvas)
- Format: MP4 (H.264 codec)
- Duration: 30-60 seconds
- Frame rate: 24-30 fps
- File size: Under 50MB for fast loading
- ✅ Auto-plays when the game loads
- ✅ No text overlays - clean video experience
- ✅ Auto-transitions to main menu when video ends
- ✅ Space to skip - press space to skip to menu
- ✅ Fallback handling - goes to menu if video fails to load
- Use your existing intro images in sequence with smooth transitions
- Include your story text as overlays within the video itself
- Add background music (Winds of Stories, Dark Magic, Invasion of Chaos)
- Keep it engaging - the video should tell your story visually
- Free options:
- DaVinci Resolve (professional, free)
- OpenShot (simple, free)
- Canva (online, easy)
- Online tools:
- Clipchamp
- WeVideo
- Adobe Express
- Arrow Keys: Move player
- Space: Skip intro
- Enter: Confirm menu selections
- 1-5: Combat actions (Attack, Magic, Items, Kinesis, Flee)
- ✅ Modular code structure
- ✅ Clean video-only intro system
- ✅ Auto-play and auto-transition
- ✅ Music system with multiple tracks
- ✅ Combat system
- ✅ Save/Load functionality
- ✅ Responsive UI