Show HN: Mini Metroidvania in 13KB of JavaScript https://ift.tt/4sXhAYg

Show HN: 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://ift.tt/7nKqQLW 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://ift.tt/Ljwa72M ) 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. https://ift.tt/Wvkp7gt September 13, 2022 at 11:55PM

Comments

Popular posts from this blog

हमारी अब भी भारत पर नजर; अब अमेरिका ने उठाया कांग्रेस का मुद्दा, केजरीवाल मामले में हो चुकी फजीहत

BJP ने बुलाई बड़ी बैठक, दूसरी लिस्ट फाइनल करने पर चल रहा मंथन; महाराष्ट्र-हरियाणा समेत यहां फोकस

दिल्ली हिंसा: दंगाइयों से नुकसान वसूलने की तैयारी, अब तक 179 अरेस्ट