r/tinycode
•
u/Slackluster
•
20h ago
•
1
Showcase I made a video explaining how my 1KB JavaScript 3D game works (JS1024 winner)
Skydreams is an endless 3D arcade game that won first place in JS1024 2026, and the whole program is just 1019 bytes of JavaScript. In this video I build it up step by step, from a flat grid to the final packed code: the fake-3D projection, the curving road, solid blocks, the track generator, the sky, the ball, the physics, and all the tricks it took to squeeze it under 1KB.
🕹️ Play Skydreams: https://js1024.fun/demos/2026/25/bar
💾 More size-coded experiments: https://github.com/KilledByAPixel/TinyCode
4
u/tech_junky 16h ago
Nice - great nostalgia for SkyRoads too: https://en.wikipedia.org/wiki/SkyRoads_(video_game)
2
u/Slackluster 14h ago
big inspiration for this game! I had to cut a lot to make it fit like the varying heights of blocks but still managed to get most of the essence I hope.
2
u/Slackluster 14h ago
This is a sneak preview of the video essay I plan to release tomorrow to a wider audience, thanks for all your support!
2
3
u/thenegativehunter 3h ago
as soon as he said "Browser" i'm like yea sure... your game isn't 1KB buddy, it's the entire browser required to run it.
I can make a game in my game engine, the game assets will be tiny, but the game engine runtime, will not, but it will be smaller than your big ass browser. nothing to brag about
2
u/tiajuanat 2h ago
I have to agree. The frameworks and runtime are doing a lot of heavy lifting there
•
u/Slackluster 41m ago
Fair point, but every sizecoding category relies on its platform. The top 4k intros mostly lean on Windows and DirectX, and old DOS intros lean on the BIOS and VGA hardware. JS1024 is JavaScript only.
The browser just gives you a canvas to draw on. Any 3D rendering, physics, or game logic has to fit in your 1k. If anything, JS is a disadvantage since it's uncompiled text and every keyword costs bytes. Native code is much denser, which is how people fit amazing stuff in 256 bytes of assembly.
If you want to see what people pull off on other platforms, check out https://www.pouet.net/. The 256b and 1k categories are wild.
•
u/Slackluster 57m ago
that is one way to think about it. I welcome you to enter JS1024 and JS13K...
https://js1024.fun/ - fit the entire program in 1k of javascript
https://js13kgames.com/ - fit a game in a 13k zip file
both browser only with no external assets.
surely you will win both of these easily. I look forward to the competition!
3
1
5
u/otakugrey 15h ago
This is really incredible work. Be proud of yourself.