Live data from Hacker News

Bevy game engine 0.6

bevyengine.org

91–93 of 93 posts

Re: Bevy game engine 0.6

#91
post #72

Earlier quoted context omitted.

I spent a few days making a (very) basic 2D game engine in Rust for fun. One thing I found is that I didn't find Rust that helpful in preventing bugs due to the nature of game engine code. For instance, I was using a generational array to store components. At some point I had a use-after-free bug in the generational array code that the Rust compiler could never catch. Also, components tend to have circular references…

I want to point out to unfamiliar readers that use-after-free in a rust generational array is a logic bug, where as use-after-free in just about any other non-rust context is undefined behavior. Rust's safety is helping here, not by preventing the bug altogether, but by severely limiting the damage it can cause.

Are there any good learning resources on how to program to get around these "logic bugs"?

I had a runtime error with my first Bevy game too, because I forgot to add a resources to my app before I used it.

Re: Bevy game engine 0.6

#92
post #70

Earlier quoted context omitted.

What do you mean by single screen? There's no technical reason for that to be the case and there are already games that have multiple screens, even past the basic main menu + main game loop ones. You can find multiple functioning and fun, if small, games here https://bevyengine.org/assets/#games . > it's not clear if it now supports OpenGL Why do you need opengl when you have support for D3D, Vulkan, Metal, OpenglES,…

> Why do you need opengl when you have support for D3D, Vulkan, Metal, OpenglES, and WebGL2? What amount of the market are you missing? My take: Software isn't used exclusively on new computers. I was just reading a forum thread full of complaints that a certain emulator won't work on 4th-gen i5 laptops. I want the software I write to be accessible to owners of machines at least as old as that, and I hope I can do th…

Bevy is still in its very early days. Using their limited development time to develop for what is already today old hardware doesn't make much sense considering its peak is likely another 5+ years in the future. By the time Bevy is very mature, the hardware that is only able to run OpenGL will be even less relevant and a very small niche.

That being said, as far as I know Bevy is modular enough to write third party render backends. If it keeps growing, I'm sure someone will do that.

Re: Bevy game engine 0.6

#93
post #67

Earlier quoted context omitted.

How do you pronounce Bevy? Long e like “Beevy” or short e like “Bevvy”? What’s the origin of the name?

A short e, as in: https://www.dictionary.com/browse/bevy The birds in the logo tie into the name! But I don't know about its origin beyond that.

Oh that all makes sense now! Thanks. I didn’t know bevy was a real word.
Post reply on HN