frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: I made a 2D game engine in Dart

https://bullseye2d.org/
67•joemanaco•3d ago

Comments

munificent•10h ago
This is so cool! I love it.
joemanaco•4h ago
Thanks. Hearing that from someone who works on Dart and wrote two books I’ve read makes the compliment really special to me :)
devrandoom•10h ago
The Boing game doesn't work mobile, is that by design?
joemanaco•4h ago
I ported this game from the Book "Code The Classics" which was written in Python/PyGame. It should be relativley easy to add mobile touch inputs to it, but I didn't have time for that yet.
stpedgwdgfhgdd•4h ago
Probably worth it as most people read HN on tablet or phone.

What is potentially a problem is the lack of training material for AI agents to generate games on top of this platform.

lionkor•57m ago
You can just read the documentation and write code, there's really no need for AI here. Your argument sounds a bit like "What is a problem is that I cant enjoy my hourly whisky while driving". Maybe the problem isn't the platform :)
leecommamichael•9h ago
> An easy-to-use, high-performance 2D game library for Dart.

This is one of those things you say to interest people. To put their concerns to rest that it might not be able to make the game they want. It doesn't really mean anything. No absolute measurements or relative comparisons.

ghurtado•9h ago
Surely this isn't the first time you see software that claims high performance and speed without any hard benchmarks attached.

You can benchmark an algorithm or a small piece of code, but for something like a game library, the definition of what is "fast" and what isn't is too dependent on context to be meaningful.

That doesn't mean that the statement is useless: it tells me that this is, at least partially, one of the goals of the library.

Joel_Mckay•8h ago
For most folks I think they use an fps score while not sacrificing aesthetic quality or game play experience.

i.e. The engine is considered lower quality if it is laggy, generates DLSS chowder, or glitches up on some hardware.

The people responsible for shader cache performance get a lot of grief given the performance hit in unpredictable play contexts is often very noticeable.

The Unreal devs made it look deceptively easy. =3

https://www.youtube.com/watch?v=pWS8Mg-JWSg

nurettin•7h ago
To me it just means that they are satisfied with their work. Enough to announce success and joy.
zxexz•6h ago
I really hate to be that guy, but I don't see a single screenshot/demo on the main page.
rodnim•5h ago
Click "Showcase" in the main top menu.
niekiepriekie•3h ago
Well, it does seem a bit hidden and the demo's are a bit simple. The Pong demo doesn't seem to work on safari desktop (When playing, the ball stops after 0.2 s . But he! You have to start somewhere.

Good luck!

socalgal2•6h ago
I hope this isn't off topic. What is the draw of Dart? In other words, what does it claim to do special or emphasize over other langauges? Like if you were going to try to convince someone they should give Dart a try, what reasons would you give?
isoos•5h ago
Modern, but sane syntax (readable), good defaults (strong typing, null safety...), good-enough runtime performance, good APIs and tooling out of the box, cross-platform (also hot-reload on some, AOT). The list goes on, what specifics do you care about more?
freitzzz•5h ago
I would say that the best benefits are:

- Cross Compilation (even wasm and js) out of the box - Simple concurrency model, similar to NodeJS - Ability to use it on a popular cross platform framework (flutter) - Hot reload capibilities (has JIT and AOT mode) - Strong developer tool chain

All of these are built on top of a language that has a pretty syntax and supports many language paradigms.

The biggest con is the (weak) package ecosystem and community.

sgt•4h ago
I think it's also important generally speaking - not just Dart/Flutter, but really any language ecosystem, to not blindly start adding packages. You'll end up with conflicts and Dart is no exception. Sometimes it is sensible to vendor a library into your own source code tree, or just build it yourself ("Own it").
sgt•4h ago
Having developed Flutter apps for a few years now (albeit not full time), I have to say that Dart is simply a pleasure to work in. The language - at least - doesn't hold you back at all. I guess it's kinda like Java should have been.
IshKebab•4h ago
The language is a little nicer than Typescript (though not in all ways), the performance is better and the tooling is excellent. Even better than Go's. And it can be AoT compiled to a self-contained binary or transpiled to Javascript.

The LSP server in particular is amazingly fast and reliable - better than Java IDEs. It's practically instant from typing something to seeing the squiggles update. C++, Rust, Go, Typescript etc. don't come close.

Obviously there are downsides: relatively tiny ecosystem, sometimes weird syntax (why is a match expression and match statement different??), this very annoying issue that I see remains unsolved after 5 years: https://github.com/dart-lang/language/issues/1188

999900000999•25m ago
Dart/Flutter imo is basically a better React Native.

It doesn't have 30 years of JavaScript legacy code.

The problem is Google cut significant funding to Flutter, it's not clear if it'll be supported for much longer.

I've built several toy apps in flutter for myself and friends. I like Flutter. But Google's lack of commitment is concerning.

Dart itself feels like a safer Typescript. The tooling is just better.

sgt•4h ago
This is promising. I just did a review of some of the code and the premise of the platform, this is clearly not your first rodeo in gaming. I wish you luck! I might consider sponsoring as well.
joemanaco•4h ago
Thank you.
voidUpdate•3h ago
> Writing games is fun again

Was it not before? The only parts I've not enjoyed in the past has been working with a team that didn't pull their weight. What part of this makes it fun again?

joemanaco•3h ago
Yes, maybe it's a stupid thing to say. My thought was that the simplicity of the API takes out a lot of the complexity of it compared to engines with complex structures, entity hierarchies, event systems and features that need to fit a wide range of genres. Especially if you want to make something simple or just a prototype.
voidUpdate•3h ago
Probably better to say "Writing games is simple again" or something then. Though engines like unity or unreal would make 3d games a lot simpler to make than this, so it's only some kinds of games
joemanaco•3h ago
You're right. I fixed it ;)
_stillmind•3h ago
I haven't used Flame engine, but I know it already exists as a way to make games in Dart. So, if someone like me is curious about making a game in Dart, it would be nice to know the pros/cons of using this versus using Flame. Maybe remaking Flame's Klondike tutorial, or one of the others, using Bullseye to help show the distinct advantages that this engine brings over other solutions? It's not very obvious to me when this would be the right choice for me over Flame.

Nevertheless, it's cool to see something new come to the scene for game dev in Dart. Thanks for making this!

joemanaco•2h ago
I don't have looked into Flame too much, but I would say the main difference is that Flame builds on top of Flutter while right now Bullseye2D only builds on the web package.

Flame offers more out-of-the-box features, while with Bullseye2D you have to build many things yourself, but it doesn't force you into a predefined structure as much. The API is more prodcedural style, making it relatively quick to learen in its entirety, without too much "magic" happening under the hood.

I think for most people Flame would be the better choice (it is also been around longer, which means better support...), however, I really love extremly simple approaches. I also believe it has advantages when you tailor your systems and architecture to your own requirements. Lots of stuff in 2D Game Development is also extremly simple (so often having to deal with a complex physics module or rendering pipeline or entity component system is contraproductive).

Hexagon fuzz: Full-system emulated fuzzing of Qualcomm basebands

https://www.srlabs.de/blog-post/hexagon-fuzz-full-system-emulated-fuzzing-of-qualcomm-basebands
30•mschuster91•1h ago•10 comments

How large are large language models? (2025)

https://gist.github.com/rain-1/cf0419958250d15893d8873682492c3e
45•rain1•2h ago•24 comments

The Fed says this is a cube of $1M. They're off by half a million

https://calvin.sh/blog/fed-lie/
1315•c249709•20h ago•502 comments

A proof-of-concept neural brain implant providing speech

https://arstechnica.com/science/2025/06/a-neural-brain-implant-provides-near-instantaneous-speech/
55•LorenDB•3d ago•37 comments

Figma files for proposed IPO

https://www.figma.com/blog/s1-public/
387•kualto•17h ago•180 comments

Fakespot shuts down today after 9 years of detecting fake product reviews

https://blog.truestar.pro/fakespot-shuts-down/
292•doppio19•16h ago•192 comments

Recurse Center (YC S10) Is Hiring a Career Facilitator

https://recurse.notion.site/Career-Facilitator-22300db231b580ba9190df9d5e480080
1•nicholasjbs•55m ago

Performance Debugging with LLVM-mca: Simulating the CPU

https://johnnysswlab.com/performance-debugging-with-llvm-mca-simulating-the-cpu/
24•signa11•2d ago•6 comments

Math.Pow(-1, 2) == -1 in Windows 11 Insider build

https://github.com/dotnet/runtime/issues/117233
59•jai_•1h ago•18 comments

Jack Welch, the Man Who Broke Capitalism (2022)

https://www.forbes.com/sites/kylewestaway/2022/05/31/jack-welch-the-man-who-broke-capitalism/
49•throw0101b•2h ago•26 comments

Sam Altman Slams Meta's AI Talent Poaching: 'Missionaries Will Beat Mercenaries'

https://www.wired.com/story/sam-altman-meta-ai-talent-poaching-spree-leaked-messages/
232•spenvo•18h ago•487 comments

Hilbert's sixth problem: derivation of fluid equations via Boltzmann's theory

https://arxiv.org/abs/2503.01800
114•nsoonhui•12h ago•67 comments

Huawei releases an open weight model trained on Huawei Ascend GPUs

https://arxiv.org/abs/2505.21411
145•buyucu•5h ago•159 comments

Why Do Swallows Fly to the Korean DMZ?

https://www.sapiens.org/culture/korean-dmz-estuary-politics-war-borders-diaspora/
68•gaws•4d ago•37 comments

Code-GUI bidirectional editing via LSP

https://jamesbvaughan.com/bidirectional-editing/
222•jamesbvaughan•20h ago•54 comments

Don't use "click here" as link text – W3C (2010)

https://www.w3.org/QA/Tips/noClickHere
46•theandrewbailey•1h ago•54 comments

The Titanic's Best Lifeboat

https://99percentinvisible.org/episode/632-the-titanics-best-lifeboat/
35•zeristor•2d ago•12 comments

Show HN: Spegel, a Terminal Browser That Uses LLMs to Rewrite Webpages

https://simedw.com/2025/06/23/introducing-spegel/
389•simedw•1d ago•172 comments

Ask HN: Who is hiring? (July 2025)

236•whoishiring•21h ago•277 comments

Feasibility study of a mission to Sedna - Nuclear propulsion and solar sailing

https://arxiv.org/abs/2506.17732
191•speckx•22h ago•81 comments

Soldier's wrist purse discovered at Roman legionary camp

https://www.heritagedaily.com/2025/06/soldiers-wrist-purse-discovered-at-roman-legionary-camp/155513
71•bookofjoe•3d ago•12 comments

HN Slop: AI startup ideas generated from Hacker News

https://www.josh.ing/hn-slop
162•coloneltcb•21h ago•63 comments

The Roman Roads Research Association

https://www.romanroads.org/
90•bjourne•16h ago•7 comments

Show HN: I made a 2D game engine in Dart

https://bullseye2d.org/
67•joemanaco•3d ago•28 comments

Ask HN: Who wants to be hired? (July 2025)

113•whoishiring•21h ago•245 comments

Show HN: A modern C++20 AI SDK (GPT‑4o, Claude 3.5, tool‑calling)

37•cauchyk•3d ago•6 comments

Off with Their Heads: Illustrations of Blemmyes (ca. 1175–1724)

https://publicdomainreview.org/collection/blemmyes/
8•Thevet•3d ago•1 comments

Converting a large mathematical software package written in C++ to C++20 modules

https://arxiv.org/abs/2506.21654
126•vblanco•23h ago•40 comments

Effectiveness of trees in reducing temperature, outdoor heat exposure in Vegas

https://iopscience.iop.org/article/10.1088/2752-5295/ade17d
149•PaulHoule•15h ago•110 comments

PortablE

https://cshandley.co.uk/portable/
7•BruceEel•3d ago•3 comments