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: A deterministic update to my tough-as-nails 2D unity mobile game

4 pointsby thsbrownabout 2 years ago
Hello HN!<p>I don&#x27;t often see a lot of game dev content on hacker news, so I thought it would be fun to add some!<p>I just spent the last 5 months updating my mobile game Command Center Earth to version 2.0.0. The trailer on the website posted is a culmination of all that work!<p>The funny part is that while the &quot;Fully Deterministic&quot; refactor made to the game only gets a small callout in the trailer, it&#x27;s what took the majority of the time! I could have never possibly imagined how much time, energy and testing it would take to get the game reproducibly deterministic with Unity! And even with all that work, I can&#x27;t 100% guarantee that it is deterministic across all devices (although my testing shows things hold together on all devices I&#x27;ve tested). All things considered though, I&#x27;m very happy with how things came together!<p>In addition to the deterministic refactor, I added 3 new levels to the game, 2 of which were only possible as a result of the refactor! Without it, all the bumping of those meteors (on Haxer &amp; Frank) would have produced a different level scenario on each retry! Additionally, having things deterministic means that my leaderboard is now accurate to 0.01 seconds!<p>There were some big visual overhauls as well, but I thought the HN community might be the most intrigued by the determinism updates!<p>Thanks for checking out my game!<p>P.S. I plan on writing a blog post on all that I&#x27;ve learned, in the hopes that the next developer to come along has a better go of it than I did btw.

1 comment

wingerlangabout 2 years ago
&gt; The funny part is that while the &quot;Fully Deterministic&quot; refactor made to the game only gets a small callout in the trailer,<p>To be honest, I don&#x27;t really think it needs to be mentioned at all. The subset of people who would care in a (casual?) game like this must be near nil.<p>Nice game by the way. Reminds me of a game called &#x27;Astro Golf&#x27; which had a similar one-screen space view with smooth animations.<p>I got soft locked in the leaderboards view, they didn&#x27;t load and I can&#x27;t press the X to get back to the game.
评论 #35637527 未加载