Mi

Mini Metroidvania in 13KB of JavaScript

Hacker News

Mini Metroidvania in 13KB of JavaScript

As part of the annual JS13K games challenge, I've put together a pretty large (but small-in-code) Metroidvania game that fits in just 13KB of compressed Javascript. The source is available here: https://github.com/arikwex/infernal-sigil NOTE: the current head of the main branch is at 13.6KB due to quality of life patches. The legit 13KB version is tagged in github. Useful hacks: - Using Roadroller ( https://github.com/lifthrasiir/roadroller ) for compression - Compressing the map data as grayscale PNG paired with some code generation. - Using procedural animation for all characters. - Replacing string enum with numeric enums for compression. - Built a small game engine for object lifecycle and rendering. - Single function to generate unique procedural songs for different regions.

Share card

Actual performance

238points
79comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: game engine, io · Missing: https docs, excited, just released
67%67% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: songs · Missing: supports, reddit linkedin, podcasting
66%66% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: single, using, code · Missing: mac, agents, macos
61%61% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
42%42% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
36%36% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Pr
Promises in JavaScript41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Promises in JavaScript

Hacker News1
Ja
Javascript Keylogger54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Javascript Keylogger

Hacker News1
Iv
Ivy - Bound JavaScript54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ivy - Bound JavaScript

Hacker News1
a
a refreshing JavaScript datepicker54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

a refreshing JavaScript datepicker

Hacker News2
Ja
Javascript constructor overloading54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Javascript constructor overloading

Hacker News2
Se
Sets in JavaScript36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sets in JavaScript

Hacker News2
A
A Drip of JavaScript52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Drip of JavaScript

Hacker News31
I
I converted libmp3lame to JavaScript59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I converted libmp3lame to JavaScript

Hacker News3
Po
Pokemon in Javascript [WIP]37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pokemon in Javascript [WIP]

Hacker News4
Op
OpenSCAD converted to Javascript with Emscripten59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenSCAD converted to Javascript with Emscripten

Hacker News10