232 points by ranger_danger 5 days ago | 68 comments | View on ycombinator
kqr 4 days ago |
diverted247 4 days ago |
Source: https://github.com/dai-studio/ex-baron (BSD 2-Clause)
Each typed element in the design describes detailed aspects of the game. This is the primary "Context" element. Just select an element to see it's schema/data.
"Baron is an arcade biplane game set in a WWI-inspired, cartoon world. The player builds their aircraft in the hangar, takes off from an airfield, flies over a procedurally generated landscape under procedurally generated clouds, and lands again. There is no combat. Pillars: (1) Flying feels great: quick to learn, satisfying to master. (2) A readable, cheerful cartoon look: toon shading, ink outlines, bold colours. (3) Every flight is different: a seed generates terrain, clouds and airfields. (4) Instant play: opens in a browser tab with no install."
Try pasting the raw diagram into an agent, here is the prompt...
"Build https://dai.studio/ted/ex-baron/raw"
You won't get the identical game but all the specified details will be there in the end result. If you swap out some key dependencies... Unreal Engine vs three.js, you will get some wild result. Have fun and post your results. :)
rossng 4 days ago |
aflag 4 days ago |
blaze33 4 days ago |
I knew it was possible (Gamepad API [1]) but never bothered to code it for my WebGL experiment (that was before ai) although I did buy again the same joystick I had as a kid, the sidewinder precision pro [2], which is certainly the oldest usb device I still use today (released ~30 years ago).
[1] https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API... [2] https://en.wikipedia.org/wiki/Microsoft_SideWinder#Precision...
pampas 4 days ago |
hypertexthero 4 days ago |
Good flight feel, nice graphics, nice typography!
Feature suggestions:
+ Missions to deliver letters to random points on map.
+ Damage modelling so you get more points the more pieces remain attached to the plane on landing.
+ Trim control on arrow keys (up arrow for elevator down, down for elevator up, left for rolling left, right for rolling right).
+ Option to have obstacles like bad weather, birds, kites, other planes, including ones armed with paintballs or other projectiles that cause localized damage on your plane or obscure your view from behind the plane with paint or smoke.
+ Ability to move camera around the plane with mouse and zoom in and out with scroll wheel.
+ Better sound overall, especially less repetitive sounds for engines.
+ “Roguelite” progression where you get to keep unlocked perks, with random missions and events (https://hypertexthero.com/roguelite-flight-sims/)
+ Mission and plane editors.
+ Controller support.
I’d buy this on Steam or Itch.
nodesocket 4 days ago |
em3rgent0rdr 4 days ago |
niwrad 4 days ago |
dvh 4 days ago |
simonjgreen 4 days ago |
- Don't auto correct roll back to level (or make it a toggle)
- Ability to change units (eg f vs m)
- Toggle to disable the auto-rudder
- Charts and some for of radio nav as an option rather than the path through the sky
I like the choice of licensing, might have a poke around as this is a really cool little project :)
alfonmga 4 days ago |
piloto_ciego 4 days ago |
hn_submit 3 days ago |
Onavo 4 days ago |
https://www.reddit.com/r/vibecoding/comments/1xwdvhf/im_a_hu...
sheepscreek 4 days ago |
undefined 3 days ago |
indigo945 4 days ago |
uzerfcwn 3 days ago |
voidfunc 4 days ago |
wahern 4 days ago |
justinhj 4 days ago |
lazybean 4 days ago |
I'll need to try again, I failed to take off.
I notice the back flap is going into the road.
modinfo 4 days ago |
leetrout 4 days ago |
Can you add rudder and elevator trim?
footoverhand 4 days ago |
jedbrooke 4 days ago |
_joel 4 days ago |
Choad_20261104 4 days ago |
patrick_rtk 4 days ago |
undefined 4 days ago |
chiengineer3 4 days ago |
somid3 4 days ago |
greggman65 4 days ago |
Here's mine:
https://greggman.github.io/gen-city-auto/ (430k, 4 cites, tons of vehicles, trains, signs, water, bridges, rain, road details) - video for highlights: https://x.com/greggman/status/2117605120745881692
https://greggman.github.io/cyber-web-city/ (200k, 10 cities themes) - video for highlights: https://x.com/greggman/status/2109451367941378213
https://greggman.github.io/webgpu-driving/ (170k - 10 environments, several vehicles, tunnels) - video for highlights: https://x.com/greggman/status/2104533425478930568
https://greggman.github.io/webgpu-aquarium/ (102k - several fish, different ocean styles)
note: iOS in particular is really slow to start up these.
Maybe it's all AI slop. None of them are fun games, they're just tech demos.
The interesting things are they are all small. All assets are built at startup. They aren't using any libraries. That suggests there is lots of low-hanging fruit for quick to start web-games.
Telling the LLM to build from scratch and follow AAA practices frees the LLM to use whatever is appropriate, rather than whatever some library dictates. The LLM was also good at optimizing, at least to an extent. It would run experiments, turning features on/off to find where the speed was going. It would also do A/B screenshots to see how much changing techniques effected the output.
Each demo from prompt to first output took 2-3 hours and then a few prompts in my free time to clean up the most outstanding issues.
One thing that helped a bunch was telling the LLM to model cars using NURBS instead of polygons. Another was telling it to have a separate modeling agent, and a separate judging agent.
None of the demos are perfect. They got to a point where I was happy that they showed want I wanted to see. I wasn't planning to take them to perfection. The gen-city-auto demo has the most issues. While it made a giant city, there are lots of places where a road makes no sense. I could prompt through that but all I really wanted to see was a GTA like city in a small amount of code and for that it proved the concept is valid. Given ways for a designer to declare what they wanted where I could see the concept generate much more "designed" cities.
briancarterio 4 days ago |
schuhwerk 4 days ago |
aislophater 4 days ago |
I suppose I am a little surprised the biplane was able to loop on its own power from level flight.
Interaction-wise, I would have liked
- to be able to invert the Y axis on the mouse control! Nuts that this alternative is not included.
- a vertical speed gauge all the time, not just when the simulator thinks I'm about to land.
- go-arounds to be handled more gracefully, rather than as a very long landing.
- a trim control on the mouse wheel to set the airspeed. (And then the mouse control could keep returning to centre, at least in expert mode.)
- a toggle for opting out of metric units, and instead using more customary knots for speed, feet for altitude, feet per minute for vertical speed etc.
- pre-tuned navigation radios (or even just VFR charts) as an optional replacement for arrows in the sky.
With these changes (and possibly more I think of later) this could be a really fun way to get children into flight simulation, since it's so action packed.