Skip to content

vanhumbeecka/codemine-game

Repository files navigation

codemine-game

The landing page for codemine.be — a scroll-driven "code mining" scene. Dwarves mine languages (C#, TS, PY, …) in a dark shaft lit by torches, and scrolling the page drives the mine elevator down. Art direction: Spelunky 2-ish, but darker, with heavy torch light/shadow contrast.

The blog lives at blog.codemine.be and is linked from the page.

Stack

  • Vite + vanilla JS (ES2022)
  • PixiJS v8 for the canvas scene
  • No frameworks, no scroll hijacking — real HTML sections scroll over a fixed canvas, and the canvas camera follows scroll progress

The shaft layout uses a seeded PRNG, so the scene is identical on every visit.

Art credits

The raw pack is not part of this repository (data/ is gitignored); only the sprite sheets used by the page are committed under public/assets/. Support the artist via the link above.

Development

npm install
npm run dev      # dev server
npm run build    # production build to dist/

Deployment

Pushes to main build and deploy to GitHub Pages via .github/workflows/deploy.yml.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors