HNHacker News
TopNewBestAskShowJobs

KilledByAPixel

517 karma · joined April 2, 2019

submissionscomments
KilledByAPixel··on LittleJS is 2D and 3D now
the youtube demo is playable!

https://littlejsengine.com/

KilledByAPixel··on LittleJS is 2D and 3D now
i have a good answer. you can create a game from scratch with ai, but that will take much longer, cost more, and be buggier, because about half the code is usually the engine itself.

so not only is it a ton of code to write but it's a lot to debug and test. that said, it's a lot of fun writing your own engine from scratch if you are into that kind of fun. but if you want to make a game, why write the engine also?

KilledByAPixel··on LittleJS is 2D and 3D now
probably because space bar does not jump during that demo.
KilledByAPixel··on My new game is a 3D 90s fever dream that fits in only 1024 bytes
Enhanced version with keyboard and touch support... https://killedbyapixel.github.io/TinyCode/1K/Skydreams

More of my size code demos... https://github.com/KilledByAPixel/TinyCode

An endless race in the sky inspired by 90's 3D games like sky roads, marble madness, and sonic 3d. My goal was to create a dreamlike experience with full resolution full speed graphics that would be easy to pick up and play.

Having worked on much more complex stuff, it's a lot of fun to start a new project from scratch and make an tiny 3D rendering system. There are a lot of fun challenges trying to fit something in this small of a space that looks cool and runs well. The contest goes until July 19, plenty of time to make something, and there's even a WebGL category.

Features - 3D level rendering system - 3D player sphere with shadow - colorful sky gradient with stars - procedurally generated levels - level increases in difficulty - mouse controls

KilledByAPixel··on Texans deserve more then a Ken Paxton snake game
this is the first in a series of games i am working about ken paxton, who is running for senate in texas against james talarico. hope you enjoy.
KilledByAPixel··on AI Browser Game Jam 3 submissions closed with 85 AI-assisted browser games
AI Browser Game Jam 3 just closed submissions with 119 people joined and 85 games submitted.

The jam was focused on AI-assisted browser game development: make a free HTML5 game, use AI heavily somewhere in the process, and submit something playable. Any tools were allowed for code, art, music, design, sound, or other parts of development.

KilledByAPixel··on Consensus Board Game
Why not use ranked choice voting?
KilledByAPixel··on L1TTL3 PAWS – Cat glider with procedural art and levels in only 13kb
Howdy, I just finished up an intense month of game dev making this game for js13k. You can play it live in your browser and it even works nice on mobile. This was made for a game jam so the gameplay is still very basic but I hope something I can develop into a more complete experience. Please share your feedback if you have any!
KilledByAPixel··on Dr1v3n Wild, A 13 kilobyte driving game inspired by OutRun
Howdy, I am excited to share my new 13k game with you all. This build is identical to the 13K version with extra support for touch and gamepads.

Everything was written from scratch this time including a custom Webgl2 rendering pipeline. The graphics are all created procedurally when the game starts including trees, rocks, signs, and even the track itself!

The code is up on GitHub for people to learn from, I may clean up the source and release with an open source license if enough people are interested. I hope you like it.

KilledByAPixel··on Crafting a 13KB Game: The Story of Space Huggers
The original 13k version or enhanced newgrounds version?
KilledByAPixel··on Crafting a 13KB Game: The Story of Space Huggers
Howdy folks, I'm back with another writeup. This one is 3 years in the making but I finally finished it! It's all about how I made one of my best games and also fit it in a super tiny footprint. I am very excited because the next JS13K is starting in a few days. I hope this inspires you to give the contest a shot, it's a ton of fun!
KilledByAPixel··on JavaScript Haikus – Tiny Code Adventures – A Talk by Frank Force
Howdy, this is a talk that I did live in Austin Texas a few weeks ago. It's all about writing super tiny programs to do cool stuff like art, games, and music. I hope it inspires you to make your own tiny code. Thanks!
KilledByAPixel··on Big LittleJS engine news about the logo, game jam, and community contributions
There have been so many updates to LittleJS recently, this post highlights some of them including the massive sprite rendering speed increase up to 400,000 at 60fps on my computer. I also completely reworkd the logo with feedback from the community. Mostly though this post is to announce the LittleJs game jam that starts on November 11. Peace!
KilledByAPixel··on City in a Bottle – A 256 Byte Raycasting System
Thanks for the heads up, I fixed it! (just removed the live demo for now)
KilledByAPixel··on City in a Bottle – A 256 Byte Raycasting System
In this post I breakdown every line of code from my amazing 256 byte HTML/JavaScript program that generates an impressive city with textures and shadows.
KilledByAPixel··on Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
Yes, this raymarching, though the vhs effect was really the trickiest part.
KilledByAPixel··on Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
It turns out that packing it into an svg onload is a tiny bit smaller then using a script tag!

It is possible to save a little more space by putting it in the canvas onclick event.

KilledByAPixel··on Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
thank you! it is a crazy challenge that is just shy of being impossible that seems like magic when it actually works.
KilledByAPixel··on Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
hey just a quick update from the author. I release3d this just today. Only the top part of the code (256 bytes) is necessary, bottom stuff is just a bit extra to add some context for people going directly to the github version!
KilledByAPixel··on Lovebyte Party is LIVE – Sizecoding compo with 8 bytes to 1k demos
A celebration of the smallest with a dedicated sizecoding demoparty/event, held on the weekend of 9-11th February 2024

More info: https://lovebyte.party/ Youtube: https://www.youtube.com/@Lovebytedemoparty

KilledByAPixel··on Interactive Music Video Game for Undergrowth by Squid
I collaborated with a band to make a special game for their new single. It's like an interactive music video that you can play in browser on desktop or mobile. I made it with vanilla js and webgl using my open source game engine LittleJS.
KilledByAPixel··on 2021 Js13kGames Winners – JavaScript games in just 13kb
Amazing work, congrats everyone! The unminified source code for all of these games is on GitHub for those interested in how this black magic is done.
KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
Thanks, I also referenced this jk1k racing game in the post...

https://js1k.com/2019-x/demo/4006

KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
That's cool! Reminds me of pavel's 1 line cube tornado.

https://www.dwitter.net/d/14485

KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
With ray casting engines for each column of pixels you cast a ray and collide it against world geometry to see what it hit and where.

With this engine, and most modern 3d engines you apply a transform to 3d world space points to get a screen space point. You also need to sort objects by distance or use a z buffer.

KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
I think there is a middle ground of many indie games I see on steam that are much larger then they should really be.

As a dev, one problem I saw often is UE4 is massive, well over a hundred meg for just the base engine.

KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
Ok, I just tried it. Removing every Math. and adding let{cos,sin,PI,min,max,tan,atan2,abs,ceil}=Math; to the top. It worked better then I expected, though it is still 1 byte larger then without. Could potentially be a win in some situations.
KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
Do you have an HD monitor? If so the game is in HD. Many tiny games and demos like this are rendered to a smaller canvas and will either not stretch to fill your monitor or are rendered at a lower then HD resolution.
KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
Alien trees...
KilledByAPixel··on How I made a 3D game in 2 KB of JavaScript
Double click to jump.
Page 1 of 2Next →