Build a polished, playable browser game: A Mariogame. Make the core loop fun within the…
- User
Build a polished, playable browser game: A Mariogame. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
Assistant
I have built a polished, 60 FPS playable retro browser platformer game: Super Mario World - Ultra Retro Arcade.
🌟 Features Implemented
-
Core Gameplay & Tight Physics:
- Sub-pixel Mario physics engine with variable-height jumps, acceleration, sliding friction, skidding, crouching, and power-up progression (Small Mario → Super Mario → Fire Mario → Starman Invincibility).
- 4 Playable Heroes with unique ability stats:
- Mario: Balanced stats for standard stage platforming.
- Luigi: Higher jumping capacity and slippery traction.
- Peach: Holds jump mid-air to float gracefully for up to 1.5 seconds.
- Toad: Extra fast running speed and high acceleration.
- Shell Mechanics: Stomping Koopa Troopas turns them into shells; kick them sliding across the screen to obliterate all enemies in their path!
- Combo Multipliers: Sequential enemy stomps award progressive score points (
100 → 200 → 400 → 800 → 1000 → 2000 → 4000 → 8000 → 1UP).
-
Juicy Feedback & Visual Effects:
- Screen shake system triggered on brick shatter, explosions, giant stomps, and damage.
- Procedural particle effects: Shattered brick debris, coin sparkles, skidding dust clouds, and floating point indicators (
+100,+200,+1UP). - Crisp procedural pixel art renderer scaled smoothly to any screen aspect ratio.
-
Chiptune Audio Synthesizer:
- Zero external audio file dependency using Web Audio API synthesisers for authentic 8-bit sound effects (Jumps, Coins, Bump, Shatter, Powerups, Fireballs, Stomps, Shell Kicks, Flagpole Fanfare, Bowser Roar) and dynamic background chiptune melodies.
-
Multiple Game Modes & Campaign:
- World 1-1: Super Grassland: Classic intro level with goomba stacks, mystery blocks, pipe jumps, hidden 1UP block, staircase, and flagpole finish.
- World 1-2: Underground Cavern: Dark theme with blue tiles, secret coin vaults, and platforms.
- World 1-3: Athletic Treetops: High elevation treetops with floating mushroom platforms and airborne Koopas.
- World 1-4: Lava Castle: Bowser Fortress with lava pits, fireballs, and the classic Bowser boss fight over the lava bridge.
- Infinite Runner Mode: Procedurally generated endless obstacle course that gets progressively faster.
- Custom Stage Builder: Full sandbox editor where players can place blocks, pipes, coins, and enemies to build and play custom levels.
-
Controls:
- Keyboard:
WASDorArrow Keysto move,Z/J/Spaceto jump,X/K/Shiftto run and shoot fireballs,PorESCto pause. - Touch Screen UI: Ergonomic left D-Pad and right
JUMP&RUNbuttons designed for zero lag and no unwanted page zoom on mobile/tablet devices.
- Keyboard:
-
Score Leaderboard & Game States:
- Arcade HUD displaying Score, Coins, World name, Time limit, and Lives counter.
- Pause Overlay, Victory Celebration screen with fireworks, Game Over screen with instant restart, and a persistent Local High Scores Leaderboard stored in
LocalStorage.
Files built:
index.html,src/index.css,src/game/types.ts,src/game/sound.ts,src/game/graphics.ts,src/game/levels.ts,src/game/input.ts,src/game/physics.ts,src/components/GameHUD.tsx,src/components/TouchControls.tsx,src/components/StartScreen.tsx,src/components/PauseMenu.tsx,src/components/GameOverMenu.tsx,src/components/LevelCompleteMenu.tsx,src/components/HighScoresModal.tsx,src/components/LevelEditor.tsx,src/App.tsx-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.