Skip to content

Latest commit

 

History

History
76 lines (70 loc) · 2.78 KB

File metadata and controls

76 lines (70 loc) · 2.78 KB

🕹️ Mario Game Made With JavaScript / Kaboom

Super Mario Bros Retro Game (mock)

Features

Kaboom.js engine (v0.5.0 via CDN) with fullscreen canvas Multi-level world using ASCII tilemaps Collectibles & power-ups Coins ($) add to score Mushrooms (# via mushroom-surprise) grant a temporary big jump Enemies (^ / z) that move and can be stomped while jumping Pipes (-+ corners etc.) to warp to the next level Lose condition: fall past a threshold or collide with enemies while not jumping HUD: live score and level indicator Tiny narrative blurb that updates across levels

Controls

arrow keys move left/right Space: jump (higher when “big”) Down arrow key: enter a pipe when standing on/inside one


Tech Stack

Kaboom.js (0.5.0) via CDN Plain HTML + JS (no bundler required) Sprites loaded from Imgur via loadSprite(...)

Assets

Sprites are loaded from Imgur via loadSprite(...). Consider replacing these with your own art or hosting them yourself for permanence. (Add an /assets folder and swap the URLs.)

Ideas & Roadmap

Add SFX and background music (Kaboom loadSound) Add checkpoints & flags Mobile touch controls (on-screen buttons) Separate level files & a level editor Pause menu & settings (volume, key remap) Replace placeholder sprites with custom art Migrate to a newer Kaboom.js version (API changes apply)

Development Notes

Current Kaboom version: 0.5.0 (CDN in index.html) Upgrading to newer Kaboom versions will require code updates (APIs changed after 0.5.x). Uses scene('game') and scene('lose') flow. Score persists across level warps within a session.

Screenshots / GIFs

Game 1

Screen Shot 2022-02-13 at 7 44 15 PM



### Game 2

Screen Shot 2022-02-13 at 7 44 32 PM



### Game 3

Screen Shot 2022-02-13 at 7 44 54 PM



### Game 4

Screen Shot 2022-02-13 at 7 45 20 PM



### Game 5

Screen Shot 2022-02-13 at 7 52 02 PM



### Game 6

Screen Shot 2022-02-13 at 7 52 36 PM