Better HN
topnewbestaskshowjobs
Log inSign up

90s_dev

1,788 karma · joined Mar 13, 2025 (1y ago) · 921 submissions

Submissions

comment 1y ago · link · parent

Thanks, though I'm not stressed. It's an exciting and fun challenge to see how much I can get done with my fancy GUI API before the edit button goes away :)

comment 1y ago · link · parent

It's basically MIT. I used to have it injected at the top of the source files. I forgot why I took it out.

[edit] Just added MIT licenses to the top of all the files.

comment 1y ago · link · parent

Working on paint app[1] now:

- [x] Add canvas with semi-transparent background

- [x] Make canvas resizable by dragging corner (min 1x1)

- [x] Show grid on canvas if grid button is checked

- [x] Make zoom adjustable by clicking and dragging zoom number up/down

- [x] Show selected color as square over canvas during mouse move

- [x] Allow click/drag to change square colors

- [x] Right-click/drag to erase squares

- [x] Support loading/saving bitmap

Hopefully I can finish it while this comment is editable! :D

As features are added, you will see them in the source code. Either:

1. Click the top-left button and click View Source

2. Download helloworld.zip from Downoad SDK and view /fs/sys/apps/paint.app.js

3. Open https://90s.dev/os/fs/sys/apps/paint.app.js in an incognito window

These all show the same live copy of the source for the paint app. The reason for the incognito window is because the service worker compiles TSX to JS at runtime.

[1] https://90s.dev/os/#sys/apps/paint.app.js

[edit] Ha, I did it! I got all the features working before the edit button went away! But it was about 2 hours, not 1. As a bonus I'll try to work on undo/redo.

comment 1y ago · link · parent

Thank you to you and the other replies. You're very encouraging. I'll keep iterating, making it more usable and its usage more clear. Maybe I can at least finish at least a few tasks while it's on HN's front page(!!!) based on everyone's feedback. Going to work on finishing the paint app right now, hopefully done within an hour.

comment 1y ago · link · parent

Technically it is possible right now. If you create usr/config.jsln (sample file is in sys/default/) and set its size, the screen automatically resizes to it.

I didn't document this because I'm not sure it's the right decision. Allowing screen resize does make it more flexible, but also leads to decision paralysis for most users, who 320 x 180 is probably perfectly sufficient for.

That was one of the genius moves of pico8, which tic80 failed to capture: offering the perfect set of orthogonal parameters for you, so you can just make stuff.

comment 1y ago · link · parent

You're right. I definitely need to put more work into making very full tutorials for this.

comment 1y ago · link · parent

Animal Well uses 320 x 180

https://en.wikipedia.org/wiki/Animal_Well

(In fact I partly made this app so I could make an Animal Well clone.)

comment 1y ago · link · parent

Oh, no, sorry for the confusion. The color picker is as far as I got with that app, it's relatively new. I can probably get it fully working within an hour though.

Also thanks, that's exactly what I was going for! I wanted to capture the fun and excitement and raw power of creating GUI apps in the 90s (but without all the inconveniences). Hence the name 90s.dev

comment 1y ago · link · parent

I tried to make it even more interactive than that. If you click any of the links on this site that start with `/os/#` then it will open (or close) an iframe under it that actually launches the app you're linking to. There's also an interactive demo on the hello world page: https://90s.dev/getting-started/hello-world.html

comment 1y ago · link · parent

Thanks!

Actually I am planning on shifting it towards importing 'https://' URLs directly.

Honestly, the main difficulty I have is keeping full TypeScript support of remote modules. It's actually easier to do this if I import https:// modules directly, though it's not as convenient as it could be[1].

But I'm also trying to figure out whether I should continue to compile TSX to JS in the service worker[2], which requires no special dev-time setup and allows publishing raw .tsx files anywhere on the net such as github, or require users to compile TSX -> JS ahead of time, which would require a build step.

On top of that, I'm considering going further and making it so packages can import bare-specifiers like `import "somelib"` and publish a plugin to compile this into an https:// import specifier.

[1] https://stackoverflow.com/questions/79628025/is-there-a-way-...

[2] I currently use a service worker to map imports like `/os/fs/{ghb,npm}/...` to `jsdelivr.net/{gh,npm}/...` and compile them and return with the right content-type.

comment 1y ago · link · parent

> You can implement custom commands and hooks to trigger. It's even possible to call native Win32 APIs in your own implementations. For example, to always move a Notepad window to the (100, 100) coordinates on your screen(s), using the low-level SetWindowPos function

Great job. Looks really interesting and useful. And a fun excuse to write Lisp.

I really appreciate it when APIs give you high-level functionality but keep the door open to lower-level APIs when you really need them.

comment 1y ago · link · parent

Thanks, I'll definitely consider using that in the next launch.

comment 1y ago · link · parent

Hi, author here.

Thank you everyone for the feedback. It's clear that I launched this far too soon.

I'll work on the pain points you all noted, and come back in a few months.

comment 1y ago · link · parent

I think I figured out how to explain it:

I basically wanted to make a much more usable pico8 for game prototyping. Hence the 320x180 design, and this prototype: https://90s.dev/v1/ But I also wanted the full convenience of VS Code, including full type checking and autocompletion support for TypeScript. So I designed it to be a platform that can be used to make and publish the things that pico8's tabs contain.

Now I see that I released this much too soon.

comment 1y ago · link · parent

I haven't made any games with it yet. I barely finished any of the game making tools. The platform itself is relatively stable, which is what I spent so much time on. And the hope was that the community would help make the game making tools and the games. But maybe you're right, maybe I have to finish some game maker tools, finish some games, and finish some tutorials to make game maker tools and games, and then relaunch in a few months.

comment 1y ago · link · parent

I chose 320 x 180 because of Animal Well. In fact, the whole app was originally conceived as a way for me to make an Animal Well style game, but more conveniently than using Pico8 (Billy Basso implied once that he used Pico8 to prototype Animal Well before moving to C++). I still think 320 x 180 is the right size for both games and game makers.

For example, here's a very early (mostly broken) prototype of 90s.dev

https://90s.dev/v1/

Because of 320x180, it can fit the code editor and the mapmaker or spritemaker on the screen at once, and each tab is big enough to be usable.

comment 1y ago · link · parent

Collaboration has always been one of my favorite things. Shortly after starting this project, the focus began to center around making sure users could create first-class apps and libraries and easily find and use them in their own creations. Much of the API evolved around supporting this idea.

comment 1y ago · link · parent

Thanks! Well, kind of. The JSX is mostly for making the apps that comprise gamemaker components, like pico8's spritemaker and mapmaker tabs. Once those apps are made, you can use them to make game assets. But those apps run in the same canvas that games would run in. A mapmaker and a game would use the same GUI for drawing into the canvas. But a game would probably create a single View and override its draw method to draw most of the game, though it could use JSX to build up the views that comprise game panels like Minecraft's inventory views.

comment 1y ago · link · parent

Thanks.

The current method of building a game is the same as the walkthrough for building an app[1], except you make a custom view and override its draw method. For higher performance, you can create an OffscreenCanvas and draw into it however you want. There's no API to wrap WebGL2 more conveniently than this yet.

I definitely should and will wirte a guide that takes you from nothing to a full fledged game. But right now, the guides are all geared towards making apps, since before we can make games, we need to make gamemaker tools, like spritemakers and mapmakers.

[1] https://90s.dev/getting-started/hello-world.html

comment 1y ago · link · parent

So far, only the built-in apps are made with it.

You can click them on the desktop-thing when you open the app.

So far the only finished app is fontmaker: https://90s.dev/os/#sys/apps/fontmaker.app.js

Their source code for all built-in apps are in https://90s.dev/os/helloworld.zip (found on https://90s.dev/getting-started/download-sdk.html)

comment 1y ago · link · parent

I took great pains to make sure it does. The one thing that Firefox doesn't support is mounting a local drive so you can develop your app, library, or game more quickly, which needs https://developer.mozilla.org/en-US/docs/Web/API/Window/show...

comment 1y ago · link · parent

Thanks!

Explaining stuff is so hard! In fact, this entire article is just me trying to explain what this is in the shortest way possible.

Maybe the shortest version is: 90s.dev is an API around a 320x180 web canvas, designed specifically for making games and game maker tools, with sharing capabilities built-in, and an innovative GUI for making game maker tools quickly and easily.

No, that's still too vague. I give up.

563.

Show HN: 90s.dev – Game maker that runs on the web(90s.dev ↗)

352 points · by 90s_dev · 1y ago · 113 comments

comment 1y ago · link · parent

I'm still waiting for the day I need to install WSL, but so far git-bash is working just fine.

comment 1y ago · link · parent

Depends. In skyscrapers with multifloor offices, sure. Regular small-ish offices, the showers would be too proximal for comfort.

comment 1y ago · link · parent

> I've been telling people for years if businesses want employees to have better ideas, they should have more showers in their offices. So far everyone seems to think I'm joking. I'm not.

I have definitely noticed that some of my best ideas or breakthroughs come to me when showering, or sleeping, or eating, or driving, or doing the dishes, or basically any mundane autopilot task where my mind is free to wander. But yeah no, having a shower room in the office is both gross and weird. Maybe offices should.. encourage you to... wash some dishes?

567.

Ask HN: When do you just give up and ship it?

16 points · by 90s_dev · 1y ago · 14 comments

comment 1y ago · link · parent

GH Actions have always worked flawlessly for me, as long as I don't ever do anything unusual.

Last week I moved from a custom server back to GH Pages + GH Actions, and broke a feature that depended on an out dir existing after one build phase and before another. I have no idea how to fix it. It's probably simple, I'm just burnt out.

comment 1y ago · link · parent

What's your favorite programming language and why is it C?

comment 1y ago · link · parent

A cross between love2d and pico8 with TypeScript and webgl2 that's plugin-first and community-centric. Basically my ideal pixelart gamemaker dev platform.
1
181920
31