Rendered at 07:51:08 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
kqr 2 days ago [-]
I'm surprised how well this handled. I usually have large complaints on the flight dynamics in projects like these, and for this (in expert mode) they were not that large. Of course, it's no X-Plane, but I'm trying to keep in mind what sort of project it is. In a good blend of arcade and simulation, it should be a toy that is easy to get into, but someone who has simulator experience should also feel at home and not run into counter-intuitive dynamics.
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.
diverted247 2 days ago [-]
The goal was a light, fun, open, introductory flight sim. My kids wanted to try a loop, so I added flaps and added 25% more power to biplane. Just enough.
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...
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. :)
potamic 24 hours ago [-]
What did it cost to run?
diverted247 18 hours ago [-]
Baron runs on Cloudflare's free tier; it is 100% static. It costs $0.
potamic 13 hours ago [-]
Oh, I meant the code generation.
rossng 2 days ago [-]
How funny, I have been vibe coding a little paper plane folding and flying simulator this weekend and the agent picked a very similar visual style
I liked this idea, but I would have hoped it would let me fold a plane and it would simulate its flight. When I try, it seems like I'm just picking from the preset 24 designs. Am I missing something?
rossng 2 days ago [-]
I have experimented with custom folding already. Technically speaking it will work just fine, nothing about the physics is prebaked.
However I quickly realised it's a non-trivial UX problem and needs a bit more effort to make something worthwhile. It will come later!
bita_nidir 2 days ago [-]
I'm watching!
rukuu001 2 days ago [-]
Nice work :)
suprjami 2 days ago [-]
That's very cute.
Current LLMs are great for making little throwaway HTML toys like this. I do it too.
theragra 2 days ago [-]
I made a whole Novuss game in 20 mins (Baltic billiards, a type of pool game with flat pawns instead of balls)
It inspired me so much, I intend to create a real game and maybe even release it on steam. Weird, but there are no 3d implementations yet, afaik.
aflag 2 days ago [-]
I think the interesting to know would be how much it cost to build and how much prompting was necessary. Overall it doesn't look like anything that I wouldn't be able to get by just prompting claude in claude code
diverted247 2 days ago [-]
The initial build was $10 of Opus 5.5 tokens from the design.dai specification.
This is a one or close to one shot Claude code; it even looks like all the 100s of games I have been vibing while on the subway.
Some of them are incredibly good by the way; I have one that’s better than the commercial ones of that genre in the AppStore.
blaze33 2 days ago [-]
First WebGL game I tried where my joystick works out of the box, very nice!
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).
It's really fun but please please add a legend of the keyboard shortcuts I can see while playing.
hypertexthero 2 days ago [-]
As a flight simulation fan since playing Sopwith years ago, I really liked this!
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.
Ok this is actually pretty awesome. Avid Flight Simulator player. While this clearly is not that, it's surprisingly fun to play with a hint of realistic flight.
em3rgent0rdr 2 days ago [-]
CTRL-S (slow engine while going up) causes my browser to try to save the webpage, fyi. Cute graphics and feel.
KeybInterrupt 2 days ago [-]
That is exactly what killed me ^^ ...I was trying to land the Plane and well I could not save it...
hn_submit 20 hours ago [-]
Please switch the flaps up and down keys. They are currently counter intuitive since you need to push the V (lower positioned key) for up and F (higher positioned key) for flaps down.
niwrad 2 days ago [-]
This is fun. However, I couldn't figure out how to bring the throttle back down.
rukuu001 2 days ago [-]
CTRL
swiftcoder 2 days ago [-]
Or you can use the number keys to select a throttle point directly
alfonmga 2 days ago [-]
Excellent. I wasn't expecting it to work that flawlessly on Safari, based on my previous experience with vibe-coded AI games, but it does. Also, this is what I consider good and useful marketing. I like your DAI Studio project, a tool like that makes sense, and I can see myself using it.
simonjgreen 2 days ago [-]
Love it! I'm especially impressed how well this works on mobile. My feedback:
- 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 :)
dvh 2 days ago [-]
Make rotating phone dialog skipable.
23 hours ago [-]
piloto_ciego 2 days ago [-]
This was fun. I would like the ability to trim and retract the gear on the bigger machines other than that 10/10.
Onavo 2 days ago [-]
And if you want an option with realistic crash physics and graphics there's
I don't know if OP founded dai.studio, but if they did - they would do well to post the DAI/AI graph that generated this game. This will allow people to get a taste for their tool without needing them to invest their time (lower the entry barrier).
I tried to land the plane by reducing throttle (ctrl) and pointing the nose down (W) and promptly recalled that ctrl-W closes the tab.
indigo945 2 days ago [-]
Using the Ctrl key for a common control (here: decelerate) in a WebGL game is bad design. This game also makes use of W, which is asking for accidents.
voidfunc 2 days ago [-]
Pilot Wings 64 vibes. Keep working on this, I'd probably be willing to pay $10 for a decent Pilot Wings clone.
wahern 2 days ago [-]
This reminds me of Corncob 3D, the DOS shareware game. All it lacks are aliens to shoot at.
lazybean 2 days ago [-]
Looks cool!
I'll need to try again, I failed to take off.
I notice the back flap is going into the road.
modinfo 2 days ago [-]
Interesting! make fun! also nice to have /?debug with settings :D
footoverhand 2 days ago [-]
Very fun, thanks for posting! Daughter really interested in it :-)
diverted247 2 days ago [-]
does she have a feature request?
leetrout 2 days ago [-]
Like an updated corncob 3d! Source available anywhere?
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.
anotherhue 10 hours ago [-]
cyber-web-city is remarkable!
sgt 2 days ago [-]
> Maybe it's all AI slop. None of them are fun games, they're just tech demos.
Sure, probably, but as long as you're having fun, and you get to experiment at a velocity (due to vibe coding) that is probably unprecedented.
I also think there may be some inherent problems with just supporting games in WebGL/wasm etc, because you're still within the constraints of a browser. You still have to pass through a JS glue layer for every WebGL call, for example, not to mention the data marshaling costs.
The cool thing is that you can reach literally anyone with a web browser, however.
suddenlybananas 2 days ago [-]
The aquarium one seems to crash firefox for me.
ctmlr 23 hours ago [-]
None of them work in firefox for me, is WebGPU a windows thing?
greggman65 1 days ago [-]
then you should file a bug on firefox
briancarterio 2 days ago [-]
[dead]
schuhwerk 2 days ago [-]
[dead]
aislophater 2 days ago [-]
Oh wow, ai slop that is barely the same quality as the first iphone apps. This site is garbage. Thanks to AI the talentless finally have a voice. Whoopie.
peddling-brink 2 days ago [-]
Oh wow, a low quality comment denigrating the doers. Thank you for your service.
ceejayoz 2 days ago [-]
Isn't the criticism that they aren't really a doer here?
2 days ago [-]
suddenlybananas 2 days ago [-]
At least the author posted their prompt here.
peddling-brink 1 days ago [-]
So you and the parent comment are gatekeeping, doing?
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better."
throwawaybackag 2 days ago [-]
The comment tone isnt great but they have a point. I really dont think having an idea and getting Claude to implement it counts as being a "doer". The barrier to entry for doing something like this with an LLM is so low now. It seems obvious to me that these vibe coded projects are worth much less attention than a pre LLM equivalent that you know took the author a lot of time and effort. All these posts are basically now "I had an idea and wrote a prompt". It's great if folk have fun with this but it seems pointless sharing this stuff if anyone can do it in literally less than 10 minutes with a 20 USD sub.
theragra 2 days ago [-]
Not everyone. I found that if you want quality, you need to spend a lot of time ironing out issues.
Sure, prototype works in 20 minutes. Then, 10 nights later I still can't get my game to have really good ai opponent. Even with MCTS, genetic algorithm, a lot of prototypes and 30 cores for the game to use.
peddling-brink 1 days ago [-]
Who are you to decide how much effort counts as doing? The parent comment was gatekeeping, and so is this.
> worth much less attention
Prove it. Vote with your wallet, err, attention? You don't get to decide for me or anyone else on this site how much attention this post is worth. Unless your charge is that OP is buying votes, or Claude magics votes into existence, the fact that it got popular is proof enough.
If you don't like it, don't read it, and if you get conned into that, don't upvote or comment.
throwawaybackag 1 days ago [-]
Hacker news will just be flooded with rubbish like this then. If you're too stupid to see that, then I can't help you.
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.
Great list, I will add these in time.
https://github.com/dai-studio/ex-baron
License: BSD 2-Clause, feel free to submit PRs.
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. :)
https://www.rossng.eu/paper-flight/
However I quickly realised it's a non-trivial UX problem and needs a bit more effort to make something worthwhile. It will come later!
Current LLMs are great for making little throwaway HTML toys like this. I do it too.
It inspired me so much, I intend to create a real game and maybe even release it on steam. Weird, but there are no 3d implementations yet, afaik.
The source is here: https://github.com/dai-studio/ex-baron
BSD 2-clause, PRs welcome.
Some of them are incredibly good by the way; I have one that’s better than the commercial ones of that genre in the AppStore.
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...
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.
- 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 :)
https://www.reddit.com/r/vibecoding/comments/1xwdvhf/im_a_hu...
Source: https://github.com/dai-studio/ex-baron
See design.dai, plan.dai, progress.dai
I'll need to try again, I failed to take off.
I notice the back flap is going into the road.
Can you add rudder and elevator trim?
https://news.ycombinator.com/item?id=50503397
Explains how to fly, and links to the repo
> Press F to lower Flaps for Take Off
> Press SHIFT to Throttle Up
> At 50km/hr, Down arrow to take off.
> Arrow keys are control stick.
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.
Sure, probably, but as long as you're having fun, and you get to experiment at a velocity (due to vibe coding) that is probably unprecedented.
I also think there may be some inherent problems with just supporting games in WebGL/wasm etc, because you're still within the constraints of a browser. You still have to pass through a JS glue layer for every WebGL call, for example, not to mention the data marshaling costs.
The cool thing is that you can reach literally anyone with a web browser, however.
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better."
> worth much less attention
Prove it. Vote with your wallet, err, attention? You don't get to decide for me or anyone else on this site how much attention this post is worth. Unless your charge is that OP is buying votes, or Claude magics votes into existence, the fact that it got popular is proof enough.
If you don't like it, don't read it, and if you get conned into that, don't upvote or comment.