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.

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

108 pointsby m110over 2 years ago

13 comments

NortySpockover 2 years ago
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 未加载
koblasover 2 years ago
Great work here, while I suck at games, it's great to see how Go can be used to build browser based applications.
ezekgover 2 years ago
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>
johnfnover 2 years ago
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 未加载
wyldfireover 2 years ago
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 未加载
hknmttover 2 years ago
great to see Go doing more than just web backends and networking.
LordHeiniover 2 years ago
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 未加载
xwdvover 2 years ago
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.
pmontraover 2 years ago
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.
smclover 2 years ago
Nice work! Must have been fun to make :)
评论 #33819737 未加载
jayunitover 2 years ago
This is great! Super fun to play. Congrats on releasing it!
pjmlpover 2 years ago
Looks quite nice, time travel back to my Speccy days.
dvhover 2 years ago
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 未加载