NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: I made a 2D game engine in Dart (bullseye2d.org)
sgt 21 minutes 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.
leecommamichael 5 hours 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.

johnisgood 6 minutes ago [-]
Yeah just like how all Rust projects are blazingly fast.
ghurtado 5 hours 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 4 hours 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 3 hours ago [-]
To me it just means that they are satisfied with their work. Enough to announce success and joy.
socalgal2 2 hours 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?
IshKebab 3 minutes 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

freitzzz 1 hours 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 24 minutes 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 26 minutes 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.
isoos 1 hours 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?
devrandoom 6 hours ago [-]
The Boing game doesn't work mobile, is that by design?
zxexz 2 hours ago [-]
I really hate to be that guy, but I don't see a single screenshot/demo on the main page.
rodnim 38 minutes ago [-]
Click "Showcase" in the main top menu.
munificent 6 hours ago [-]
This is so cool! I love it.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 08:23:08 GMT+0000 (Coordinated Universal Time) with Vercel.