HNHacker News
TopNewBestAskShowJobs

btco_code

2 karma · joined October 12, 2023

submissionscomments
btco_code··on QX82: Tiny JavaScript game/experience engine inspired by retro 80s computing
I've updated QX82 to support more than one font, which you can load at runtime, so now there is no limit to how many different characters you can have. You could have a different character set for each biome of your game, for example!

Since sprites are the same thing as fonts, this also means you can have custom fonts and switch fonts as needed.

It should work for creating something like Caves of Qud! I'd love to play something like that! Sign me up for the beta when you have it :-)

btco_code··on QX82: Tiny JavaScript game/experience engine inspired by retro 80s computing
Ha! You noticed it! :-D I memorized it as 1=blue, 2=red, 4=green and then you add the numbers to make the combinations. So magenta is red+blue so it's 1+2 = 3 and cyan is blue+green with is 1+4 = 5.
btco_code··on QX82: Tiny JavaScript game/experience engine inspired by retro 80s computing
True! It has some similarities with PICO-8. Both are based on the simple, imperative programming languages of the past. QX82 is far less ambitious than PICO-8: it's just a library, not a full product + ecosystem. I didn't put in the niceties of an IDE and sprite editor and such, but it's also free and open-source and can be used anywhere and can be extended or taken apart as much as needed, as it's all just Javascript. It's a more "open" approach, let's say. It was also not made by a company: it was made by me, a random guy on the internet, who enjoys retro games :-D
btco_code··on QX82: Tiny JavaScript game/experience engine inspired by retro 80s computing
Thanks! I ran out of creativity to invent more levels, that's why it's a bit short, but it was fun to make and I'm glad it was fun to play too!
btco_code··on QX82: Tiny JavaScript game/experience engine inspired by retro 80s computing
That can be tweaked. Well, technically everything can be tweaked as it's open-source, but what I mean is that can be _easily_ tweaked, just by changing the parameters NOISE_SPEED and NOISE_INTENSITY in https://github.com/btco/qx82/blob/main/qx82/config.js.