Main Gauche Games devlog

Counting allocations in Unity

Have you ever wondered how many heap allocations your C# code is making? Here’s a little class called AllocCounter that will help you do that. It’s pretty straightforward:

var ac = new AllocCounter();

// code that may or may not do allocations

var allocCount = ac.Stop();

If you like lambdas, you can use this style as well:

var allocCount = AllocCounter.Instrument(() => {
  // code that may or may not allocate
});
Keep Reading →

A 3D tile editor for Unity

There are lots of good tilemap editors you can use for 2D games, but it’s a different story for 3D.

For Stereo Boy, a game filled with grid-aligned cubes, we ended up writing a custom tool for 3D tile editing called Block Editor. Let’s take a look at how it works.

Keep Reading →

Making Stereo Boy's dual worlds

Stereo Boy’s core mechanic is the ability to teleport between two worlds on either side of the screen. This post is a breakdown of how we implemented this unusual feature, across our tools, runtime cameras, and gameplay effects. We took advantage of the flexibility of Unity’s editor and camera systems to meet our highly-specific needs.

Keep Reading →

Stereo Boy launch day stream

Our launch day stream was really fun! We got to play Stereo Boy, answer questions, and demonstrate some of the tools we used to make the game.

Watch for some fun screenshots that show how far the game has come since its inception as a game jam entry.

By the way: we stream and post videos about game dev from time to time. Follow us on Twitch and YouTube for more!

Keep Reading →

Stereo Boy is released!

We launched our first commercial title today! It’s called Stereo Boy.

You play a robot called Blit who’s crash-landed on an alien planet and trying to get home. There are puzzles. You can grab it on Steam for eight bucks, even less if you catch the launch sale. Here’s a trailer:

Pretty cool, right? Let’s talk a bit about the origin story!

Keep Reading →