Category: Code Samples

August. Seriously.

Part 2 of our “WTF is wrong with my project?” series. Continuing from last month, I set about trying to get the newer version of Unity and my project to be friends. step 0: uninstall everything. it all went so well until it didn’t. Visual Studio 2015’s uninstaller was...

SUNKEN COST FALLACY

As my expectations fluctuate wildly between dreams of finishing this project and fears of dying of covid-19 because I went to a grocery store, time keeps ticking. And so I tick with it, stomping bugs with metaphorical boots and scraping off bug guts on a very real doormat. Whatever...

So much closer still

Argh. The end is almost in sight but it’s already September. I am really trying to get this into certification before the end of the year but it’s looking tight now. Well, lots of things to talk about so here’s the latest dev blog. What’s wrong with passing It...

Unity Slide Show? Because!

Howdy! This is just a quick pre-GDC post because I wrote some slide show code in Unity and thought it might be useful to someone! Backstory: There’s going to be a spare monitor at my GDC Play booth, so I thought it would be handy to run a slide show...

Flippity-Do-Da: Mirroring a Complex Object in Unity

First, there was this goal: It was nothing special. Back then, the game looked like this: Then I added the hoop and field goal posts: And the game then looked like this: When the time came to add goal art, there was a problem. The physics of the game...

Dat PASS!

Much like shooting monsters in Space Invaders, the key to passing is to aim at where your target is going, not where it is. With that, and some handy prediction code courtesy of a stackoverflow user named “Broofa”, I was able to get it working. First I had to translate...

Sprite-Based Text!

I just finished writing code for sprite-based text in unity. Since the game is low-fi, I wanted the font to be somewhat legit. Here’s the font I created for the old XNA version of the game: And here’s it rendering in Sportsball I created a simple class that will...