TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bevy 0.4: data oriented game engine built in Rust

113 pointsby _cartover 4 years ago

5 comments

dangover 4 years ago
Recent and related:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24983956" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24983956</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24530698" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24530698</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24334307" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24334307</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24123283" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24123283</a>
indiv0over 4 years ago
I&#x27;ve tried to make games in my spare time before. Working in Bevy is the first time I&#x27;ve made actual progress on my projects.<p>There&#x27;s something about the way the ECS framework is designed that just <i>works</i>. In particular the way the &quot;systems&quot; part of the ECS is automagically generated from regular old rust functions is just brilliant to me.<p>Aside from the ECS stuff, the WASM support is something else I&#x27;m pretty happy with (shout out to mrk-its for their help here). I can compile my game for native when I&#x27;m working on it locally, then when I want to show it off I can just `aws s3 cp` it up to a bucket and have people try it out in their browsers. The performance is still great there.
评论 #25481346 未加载
评论 #25480669 未加载
评论 #25480801 未加载
_cartover 4 years ago
Lead Bevy developer&#x2F;project lead here. Let me know if you have any questions!
评论 #25481076 未加载
评论 #25480990 未加载
aazaaover 4 years ago
From the getting started tutorial,[1] I notice that (certain) functions appear to have the method &quot;system&quot; added to them. For example:<p>&gt; Note the hello_world.system() function call. This is a &quot;trait extension method&quot; that converts the hello_world function into the System type. ...<p>Later follows an example where a function previously defined as add_people appears to have a method called &quot;system&quot;, allowing expressions like this:<p><pre><code> add_people.system() </code></pre> I don&#x27;t see any macros on the function definitions, so where does this come from. Also, what&#x27;s the purpose of adding the system method to functions?<p>[1] <a href="https:&#x2F;&#x2F;bevyengine.org&#x2F;learn&#x2F;book&#x2F;getting-started&#x2F;ecs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bevyengine.org&#x2F;learn&#x2F;book&#x2F;getting-started&#x2F;ecs&#x2F;</a>
评论 #25480999 未加载
评论 #25481005 未加载
评论 #25481174 未加载
js8over 4 years ago
Just out of curiosity, how this compares to Amethyst?
评论 #25481232 未加载