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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: I made a 2D shoot 'em up game with Go, using Entity Component System

108 点作者 m110超过 2 年前

13 条评论

NortySpock超过 2 年前
Beautiful game, thanks for sharing. Koblas's comment caught my eye and I will definitely be poking around the github actions code to learn how to compile Golang to WASM.
评论 #33817119 未加载
koblas超过 2 年前
Great work here, while I suck at games, it's great to see how Go can be used to build browser based applications.
ezekg超过 2 年前
For the curious, here&#x27;s the ECS package this is built with: <a href="https:&#x2F;&#x2F;github.com&#x2F;yohamta&#x2F;donburi" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yohamta&#x2F;donburi</a>
johnfn超过 2 年前
Very cool stuff! I had a lot of fun getting all the powerups and becoming massively overpowered. :)<p>How was using Go targeting wasm (I presume)? I&#x27;m personally concerned about compilation times being super long, but I guess I&#x27;ve never tried...
评论 #33822445 未加载
wyldfire超过 2 年前
Constructive feedback - coming from experience with games like &quot;Time Pilot&quot; or &quot;Strikers 1945&quot; - the firing recharge&#x2F;repeat rate of this game seems too slow.<p>Otherwise it was neat!
评论 #33817320 未加载
评论 #33816817 未加载
hknmtt超过 2 年前
great to see Go doing more than just web backends and networking.
LordHeini超过 2 年前
For me the third level does not load on the web version.<p>The ship just gets stuck on the end of lvl 2.
评论 #33819410 未加载
xwdv超过 2 年前
Entity Component Systems are definitely the key for making all kinds of interesting gameplay elements very quickly, and in ways you might not even think of initially.
pmontra超过 2 年前
Firefox Ubuntu: black screen and &quot;panic: atlas: the image being put on an atlas is too big: width: 480, height: 2400&quot; in the console.
smcl超过 2 年前
Nice work! Must have been fun to make :)
评论 #33819737 未加载
jayunit超过 2 年前
This is great! Super fun to play. Congrats on releasing it!
pjmlp超过 2 年前
Looks quite nice, time travel back to my Speccy days.
dvh超过 2 年前
IMO you chose wrong tech for the job. It is very simple 2D game yet it starts 5s on my desktop and 20s on my phone. If I would to make a simple game and even simplest program starts 20s I would stop right there and choose different technology.<p>You probably did it to try Go, wasm and ECS and I understand that, but if you to make a game seriously, you should have stopped much earlier. In the early stage of the game development you should made 5-10 prototypes using different tech&#x2F;frameworks and use the best one. I seriously don&#x27;t see Go+wasm+ESC being the best one for this kind of game.<p>How can you not go insane if you have to wait 20s for every page refresh.
评论 #33819671 未加载
评论 #33819721 未加载
评论 #33819625 未加载