9c07c52d34e0bdf0523b59de14f83fbbc2434009
Moving platforms reversed velocity whenever |x-startX|>range, which stays true for several frames after the flip, so direction flipped every frame and the platform vibrated in place. Now reverse only when past the edge AND still heading outward. Same directional guard for enemy 'bug' patrol. Added a 6px deadzone to 'mev_bot' so it stops shaking when aligned with the player. Verified: a moving platform now flips ~4x over 360 frames and travels the full range symmetrically.
🚀 Naddie Jump — Monad Edition
A vertical endless jumper inspired by Doodle Jump, themed around the Monad Blockchain ecosystem.
Play as Naddie, the purple Monad mascot, and jump your way up through blockchain blocks while avoiding bugs, high gas fees, and collecting power-ups like the Propeller Hat and Fast Transaction Rocket!
🎮 Features
- Classic Doodle Jump gameplay with blockchain twist
- 4 platform types: Stable, Pending (moving), Reverted (breaking), Genesis (gold 2× multiplier)
- 3 power-ups: Spring (super jump), Propeller Hat, Rocket Ride
- 2 enemy types: Software Bugs and High Gas Fee traps
- Combo system: Chain jumps for score multipliers up to ×3
- Milestones: Visual celebration every 100 blocks ("New Epoch!")
- Adaptive difficulty: Gaps widen and enemies appear more often as you climb
- Touch & keyboard controls: Arrow keys, WASD, or tap left/right sides
- Web3-ready architecture:
BlockchainManagerstub ready for Monad integration
🛠 Tech Stack
| Layer | Tech |
|---|---|
| Engine | Phaser 3.70 |
| Build | Vite |
| Language | JavaScript (ES6+) |
| Future Blockchain | Monad EVM + Viem/Ethers |
🚀 Quick Start
npm install
npm run dev
Open http://localhost:5173 in your browser.
📁 Project Structure
src/
scenes/
BootScene.js # Asset loading & atlas generation
MenuScene.js # Main menu & leaderboard mock
GameScene.js # Core gameplay loop
GameOverScene.js # Results & restart
entities/
Player.js # Naddie character
Platform.js # Stable / Moving / Breaking / Genesis
Enemy.js # Bugs & Gas Fee traps
Spring.js # Super jump pad
PropellerHat.js # Fly power-up
Rocket.js # Rocket ride power-up
managers/
PlatformManager.js # Procedural generation
ScoreManager.js # Gas Score & Block Height
BlockchainManager.js # Web3 abstraction stub
config/
game.config.js # Balance constants
utils/
sprite-atlas.js # Sprite sheet coordinates
contracts/
NaddieJump.sol # Future on-chain leaderboard
🔗 Blockchain Roadmap
Phase 1 — Off-chain (Current)
- Fully playable browser game
- localStorage high scores
Phase 2 — On-chain Scores
- Deploy
NaddieJump.solon Monad testnet - Submit scores via
viem - On-chain leaderboard
Phase 3 — Economy
- ERC-20
$GWEItoken rewards - NFT skins for Naddie
- Daily on-chain tournaments
🎨 Credits
- Character & art concept: user-provided sprite sheet
- Engine: Phaser 3
- Font: Press Start 2P
📄 License
MIT — built for the Monad ecosystem.
Description
Languages
JavaScript
99.4%
HTML
0.6%