Skip to content

humancto/legacy-games

Repository files navigation

header

Typing SVG


Play Now ย  Source Code


HTML5 Canvas JavaScript Web Audio Games Lines of Code License Zero Dependencies


Built by Human CTO ย |ย  LinkedIn ย |ย  GitHub


Legacy Collection - Game Launcher

Retro-themed game launcher hub with all 12 playable games


๐Ÿ•น๏ธ Game Gallery

Space Shooter
๐Ÿš€ Space Shooter
Vertical Shooter ยท WASD + Space
Flappy Chicken
๐Ÿ” Flappy Chicken
Arcade ยท Space to flap
Underwater Diving
๐Ÿคฟ Underwater Diving
Action ยท WASD + Shift
Gothicvania Swamp
๐ŸŒฟ Gothicvania Swamp
Platformer ยท WASD + Z/X
Gothicvania Cemetery
โšฐ๏ธ Gothicvania Cemetery
Action Platformer ยท WASD + Z
Magic Cliffs
๐Ÿ”๏ธ Magic Cliffs
Exploration Platformer ยท WASD + Z/X
Warped Caves
๐Ÿฆ‡ Warped Caves
Run-and-Gun ยท WASD + Z/X
Streets of Fight
๐Ÿ‘Š Streets of Fight
Beat 'em Up ยท WASD + Z/X/C
Tiny RPG Forest
๐ŸŒฒ Tiny RPG Forest
Top-Down RPG ยท WASD + Z/X/C
Warped City
๐ŸŒƒ Warped City
Cyberpunk Shooter ยท WASD + Z/X
Top-Down Shooter
๐Ÿ”ซ Top-Down Shooter
Twin-Stick Shooter ยท WASD + Arrows
Grotto Escape
๐Ÿ•ณ๏ธ Grotto Escape
Cave Platformer ยท WASD + Z/X

๐ŸŽฎ All 12 Games

# Game Genre Controls
1 Space Shooter Vertical Shooter WASD + Space โ–ถ Play
2 Flappy Chicken Arcade Space to flap โ–ถ Play
3 Grotto Escape Cave Platformer WASD + Z/X โ–ถ Play
4 Underwater Diving Action WASD + Shift โ–ถ Play
5 Gothicvania Swamp Platformer WASD + Z/X โ–ถ Play
6 Gothicvania Cemetery Action Platformer WASD + Z โ–ถ Play
7 Magic Cliffs Exploration Platformer WASD + Z/X โ–ถ Play
8 Warped Caves Run-and-Gun WASD + Z/X โ–ถ Play
9 Streets of Fight Beat 'em Up WASD + Z/X/C โ–ถ Play
10 Tiny RPG Forest Top-Down RPG WASD + Z/X/C โ–ถ Play
11 Warped City Cyberpunk Shooter WASD + Z/X โ–ถ Play
12 Top-Down Shooter Twin-Stick Shooter WASD + Arrows โ–ถ Play

โšก Quick Start

git clone https://github.com/humancto/legacy-games.git
cd legacy-games
python3 -m http.server 8000
# Open http://localhost:8000

Or just open any game's index.html directly in your browser.


๐Ÿ› ๏ธ Tech Stack

๐ŸŽจ Rendering HTML5 Canvas with imageSmoothingEnabled = false for crisp pixel art
โš™๏ธ Language Pure vanilla JavaScript โ€” zero frameworks, zero dependencies
๐Ÿ”Š Audio Web Audio API with procedural sound effects
๐Ÿ—๏ธ Architecture Shared engine modules + per-game standalone files
๐Ÿ“ฆ Build None needed โ€” just open and play
๐ŸŒ Hosting GitHub Pages

๐Ÿ“ Project Structure

legacy-games/
โ”œโ”€โ”€ index.html              # Game launcher hub
โ”œโ”€โ”€ shared/                 # Shared engine modules
โ”‚   โ”œโ”€โ”€ engine.js           #   Game loop, canvas, responsive scaling
โ”‚   โ”œโ”€โ”€ sprite.js           #   Sprite loading, animation, spritesheets
โ”‚   โ”œโ”€โ”€ input.js            #   Keyboard input (WASD + arrows + actions)
โ”‚   โ”œโ”€โ”€ audio.js            #   Web Audio API sound effects
โ”‚   โ”œโ”€โ”€ collision.js        #   AABB and circle collision detection
โ”‚   โ”œโ”€โ”€ particles.js        #   Particle emitter system
โ”‚   โ”œโ”€โ”€ ui.js               #   HUD rendering (health, score, text)
โ”‚   โ”œโ”€โ”€ state.js            #   Game state machine
โ”‚   โ””โ”€โ”€ utils.js            #   Math helpers (lerp, clamp, random)
โ”œโ”€โ”€ space-shooter/          # Each game has its own folder
โ”œโ”€โ”€ flappy-chicken/         #   with index.html, game.js,
โ”œโ”€โ”€ grotto-escape/          #   and an assets/ directory
โ””โ”€โ”€ ...                     #   (12 game folders total)

๐ŸŽจ Asset Credits

All pixel art assets are from the Legacy Collection by Ansimuz.

๐Ÿ”— Browse and support the artist: itch.io/c/392202/ansimuz-games

Assets are used under the terms provided by the artist on itch.io. Please visit the link above to support the creator and review the asset license terms.


๐Ÿ“„ License

The game code (all .js and .html files) is released under the MIT License.

The pixel art assets in */assets/ directories are created by Ansimuz and are subject to their own license terms.



โญ Play all 12 games now โญ

Built by Human CTO ย |ย  LinkedIn ย |ย  GitHub


footer

About

๐ŸŽฎ 12 retro pixel art games built with pure vanilla JS & HTML5 Canvas โ€” 16,500+ lines, zero dependencies. Play now\!

Topics

Resources

License

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors