TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Bevy 0.4: data oriented game engine built in Rust

113 点作者 _cart超过 4 年前

5 条评论

dang超过 4 年前
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>
indiv0超过 4 年前
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 未加载
_cart超过 4 年前
Lead Bevy developer&#x2F;project lead here. Let me know if you have any questions!
评论 #25481076 未加载
评论 #25480990 未加载
aazaa超过 4 年前
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 未加载
js8超过 4 年前
Just out of curiosity, how this compares to Amethyst?
评论 #25481232 未加载