Hacker News new | ask | show | jobs
by Dirak 1263 days ago
This is slightly off-topic, but this post makes me feel sincerely nostalgic for building games in Eclipse and Swing back in the day. Growing up, Notch's live streams[1] where he would code up a game in Java Swing for Ludum Dare were one of my first exposures to programming, and reasons for eventually studying CS. I wish there were some modern alternative to Swing that would be as simple as Swing, but would allow you to create games for the web.

[1] https://www.youtube.com/watch?v=4J_8HkQj9mU

3 comments

Agree, swing was "terrible" because desktop programming is hard (so many event sources!) but it contained a lot less footguns than say, QT or GTK.

JavaFX is sorta the spiritual successor to swing. On linux, you can actually run it straight from the framebuffer! (No 'desktop' needed!)

There was also this discussion a long while back: https://news.ycombinator.com/item?id=25121705 The project is actively maintained and sees commits quite a bit! Might be what you're looking for.

It's not exactly the same but if you're looking for a simple environment that lets you create games for the web, you should check out the PICO-8: https://www.lexaloffle.com/pico-8.php
Have you looked into Flutter at all? I admit that I have not, but I know it supports web development in addition to mobile and desktop:

https://flutter.dev/multi-platform/web