r/tinycode
•
u/Slackluster
•
6d 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
6
u/otakugrey 6d ago
This is really incredible work. Be proud of yourself.
5
u/tech_junky 6d ago
Nice - great nostalgia for SkyRoads too: https://en.wikipedia.org/wiki/SkyRoads_(video_game)
2
u/Slackluster 6d 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
u/light24bulbs 6d ago
An AN endless 3d arcade game. Very impressive project.
2
u/Iampepeu 6d ago
Fuck this is good! Very impressive! And great explanation as well! Thank you!
2
u/greenbox111 5d ago
Such a simple take. Am sure many will get confidence to code and learn math from this. Good karma.
3
u/thenegativehunter 6d 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
4
u/AtmosphereVirtual254 6d ago
TIL `getContext\`2d\``
2
u/Oscar-Xiatian 5d ago
IMPRESSIVE
2
u/Himbo69r 5d ago
Really cool!
1
u/OMGCluck 5d ago
Takes me back to Trailblazer days on the C64.
I decided to fit it into an SVG without codegolfing for uploading to an image host:
https://imglink.cc/cdn/2MBS33OWdo.svg
1
u/Confident-Serve4280 1d ago
Nicely explained, and very interesting to see how it works.
1
u/Computer_Liker_68 23h ago
"1019 bytes game"
Looks inside
*runs at 20fps(Frames per sometimes)*
0
u/False_Bear_8645 4d ago
I'm gonna pop your bubble, but it's really not impressive. Low size challenge game does better without a web browser.