Live data from Hacker News

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

bullseye2d.org

21–30 of 41 posts

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

#21

The Boing game doesn't work mobile, is that by design?

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.

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.

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

#23

> 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?

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.

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

#24

> 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?

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.

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

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

#25

Earlier quoted context omitted.

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.

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

You're right. I fixed it ;)

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

#26
post #8

I really hate to be that guy, but I don't see a single screenshot/demo on the main page.

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!

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

#27
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!

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

#28

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…

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).

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

#29

Earlier quoted context omitted.

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.

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.

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 :)

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

#30

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?

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.

Post reply on HN