August 16th, 2024

Crafting a 13KB Game: The Story of Space Huggers

Frank developed "Space Huggers," a 13KB run-and-gun roguelike for the Js13kGames competition, using his LittleJS engine. The game features procedural levels, cooperative play, and a 16-bit art style.

Read original articleLink Icon
ExcitementAdmirationNostalgia
Crafting a 13KB Game: The Story of Space Huggers

Frank, a game developer, shares his experience creating "Space Huggers," a 13KB game for the Js13kGames competition, which challenges participants to develop web browser games within a strict size limit. The game, a run-and-gun roguelike platformer, features procedurally generated environments and pixel art, inspired by classics like Broforce and Contra. Frank developed a new game engine, LittleJS, to facilitate high-quality, low-size games, which he open-sourced. The design process emphasized core gameplay over extensive content, incorporating cooperative play for up to four players. The art style mimics 16-bit games, utilizing a limited color palette to optimize storage. Frank's approach to player and enemy design involved procedural animation and AI that mimics player controls, enhancing gameplay complexity. The game includes various abilities and weapons, encouraging dynamic interactions and emergent gameplay. Frank's journey into tiny game development began after a burnout from larger projects, leading him to explore the creative potential of compact coding. His previous entries in the competition have garnered awards, showcasing his growth and passion for this unique format.

- "Space Huggers" is a 13KB game developed for the Js13kGames competition.

- The game features procedurally generated levels and supports up to four players.

- Frank created the LittleJS engine to enable high-quality, low-size game development.

- The art style is inspired by 16-bit games, using a limited color palette for efficiency.

- Frank's experience in tiny game development stemmed from a desire to return to simpler coding after burnout.

AI: What people are saying
The comments on Frank's "Space Huggers" highlight various aspects of the game and the competition it was part of.
  • Many users express admiration for the game's design and its resemblance to other popular games like Broforce.
  • There is a shared appreciation for the challenge of creating games within strict size limits, with references to past competitions.
  • Some users discuss technical issues, such as performance slowdowns during gameplay.
  • Frank's LittleJS engine receives positive feedback for its usability and community support.
  • Users share links to related content, showcasing interest in other small-scale games and competitions.
Link Icon 12 comments
By @diceduckmonk - 6 months
Another reason to golf. It's not quite right, but it's a fun goal to fit an app within the first few TCP roundtrips.

https://endtimes.dev/why-your-website-should-be-under-14kb-i...

By @filcuk - 6 months
It's amazing how close to the inspiration - Broforce - it actually feels, at least from the video. I'd sacrifice floppy 41 out of 45 of Microsoft Office 97 Standard Edition to be able to play this.
By @throwawayk7h - 6 months
Incredible. I love these stories of kb games. For those interested, there's a great video for this 40 kb nes game, micro mages:

https://m.youtube.com/watch?v=ZWQ0591PAxM

By @RegW - 6 months
It's great to see this sort of stuff still goes on.

In 2000 (I think), I put 2 Java Applets into the 5k competition. One a maze game with a thousand rooms (10x10x10), the other a spelling checker that checked the contents of an input field against a word list. Both were quite poor and I didn't do well.

The general standard was really impressive. I remember that there was pretty good chess game done in Javascript.

https://www.the5k.org/about.php

By @debo_ - 6 months
LittleJS is great. I love tinkering with it. Frank is great too, nice little community in the discord and he is super responsive to questions.
By @causality0 - 6 months
Impressive,though I still think Kkrieger is the most impressive tiny game I've seen.
By @Lammy - 6 months
Love it, though I wouldn't have been able to resist naming it Gamehuggers From Outer Space.
By @nprateem - 6 months
You can't use the word 'craft' without me thinking an article is AI generated now
By @nox101 - 6 months
Neat game but why is it so slow? It runs smooth at the start but whenever I get near some enemies, as soon as 1 or 2 explosions happen it runs at like 10fps or less. I'm on an M1 Mac which can run some pretty high end games. I tried Safari, Firefox, and Chrome
By @nhggfu - 6 months
brilliant.
By @lifthrasiir - 6 months
For the record, this year's js13kGames [1] has just started days ago and will continue to run until September 13. :-)

[1] https://js13kgames.com