Tag: code

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...