Erik E. Johnson

Erik E. Johnson

@erikejohnson.bsky.social

Working on Command Deck. Available now in early access! https://store.steampowered.com/app/3084740/Command_Deck/ @CommandDeck.bsky.social

17 followers11 following16 posts

Erik E. Johnson reposted

Check out this awesome article @thespaceshipper.com wrote about Command Deck! It digs into our artistic inspirations and features an interview with our dev @erikejohnson.bsky.social. πŸš€

The Spaceshipper πŸš€@thespaceshipper.com

New article on my Patreon: we examine the creation of spaceships for the recent game Command Deck, which brings to life the covers of 1960s and 1970s sci-fi novels illustrated by fantastic artists like Boris Vallejo or John Berkey. @commanddeck.bsky.social

I wrote this up for reddit, but maybe people here will find it interesting or helpful. We added a ramming maneuver to our deckbuilder. But it came with a nasty bug that was particularly difficult to track down due to some Unity quirks. A thread. 1/6

View full thread

Takeaways: - Bad floating point values in a Transform or RigidBody can lead to hard crashes in Unity - Unity prevents these values from being assigned when running in Editor, but not in builds - Always watch out for divide by zero edge cases 5/6

Finally: If you ever see even a single error in your Editor Console that looks like `rigidbody.force assign attempt for 'Object' is not valid. Input force is { Infinity, Infinity, Infinity }.` for the love of god listen to it 6/6

I wrote this up for reddit, but maybe people here will find it interesting or helpful. We added a ramming maneuver to our deckbuilder. But it came with a nasty bug that was particularly difficult to track down due to some Unity quirks. A thread. 1/6

View full thread

If an Update call happened to land at exactly the same time as our intercept time (a 32-bit float) then we would divide by zero and assign an Inf acceleration to a RigidBody. And then other objects would reference the ship's position and end up with Inf in their transforms. 3/6

This lead to our game hard crashing to the desktop with an 'Overflow in memory allocator' message in the logs. Did you know that Unity prevents assigning Inf and NaN to RigidBodies and Transforms in *Editor* but doesn't catch the bad values in builds? 4/6

I wrote this up for reddit, but maybe people here will find it interesting or helpful. We added a ramming maneuver to our deckbuilder. But it came with a nasty bug that was particularly difficult to track down due to some Unity quirks. A thread. 1/6

Erik E. Johnson reposted

We’re excited (and a little scared) to finally reveal our game: Command Deck! Explore the galaxy, face hostile aliens, and upgrade your ship in this sci-fi roguelike deckbuilder πŸš€ Follow us for updates πŸ‘Ύ ✨ Wishlist on Steam! ✨ store.steampowered.com/app/3084740/...

store.steampowered.comCommand Deck on SteamA sci-fi roguelike deckbuilder where you explore the galaxy, face hostile aliens, and upgrade your starship. It will take adaptability and strategic thinking to survive and uncover the secret your ene...

You are up to date.