Show HN: A deterministic update to my tough-as-nails 2D unity mobile game
breakstepstudios.comHello HN!
I don't often see a lot of game dev content on hacker news, so I thought it would be fun to add some!
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!
The funny part is that while the "Fully Deterministic" refactor made to the game only gets a small callout in the trailer, it'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't 100% guarantee that it is deterministic across all devices (although my testing shows things hold together on all devices I've tested). All things considered though, I'm very happy with how things came together!
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 & 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!
There were some big visual overhauls as well, but I thought the HN community might be the most intrigued by the determinism updates!
Thanks for checking out my game!
P.S. I plan on writing a blog post on all that I've learned, in the hopes that the next developer to come along has a better go of it than I did btw. > The funny part is that while the "Fully Deterministic" refactor made to the game only gets a small callout in the trailer, To be honest, I don'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. Nice game by the way. Reminds me of a game called 'Astro Golf' which had a similar one-screen space view with smooth animations. I got soft locked in the leaderboards view, they didn't load and I can't press the X to get back to the game. Guess I can't edit my previous comment. Played a bit more so here are some comments. - Impatient, but it would be nice to skip the initial 'spin' of Earth after a few attempts. - The game starts to lag after a few minutes (iPhone X) but is smooth otherwise. - It's annoying that the level select defaults back to first planet instead of the latest playable one. - I was confused about the 'confidential' marked meteors I thought I had hit a paywall and initially shut the game down. Only after I realized that I could go past it. I think it's quite effective though, as when I finished all I went back to watch ads to unlock one (which I hate doing..). Maybe have the next planets visible in the edges of the screen. - Brings me to the crash I had while watching the ad (during the game being laggy, not sure if related). - I wish the particles bounced of earth and other stuff. - Boost could be more visible. Quite difficult, but satisfying when you make it.