Category: Code Samples

Feb
25

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 […]

Oct
29

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, […]

Jul
18

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 […]

Jun
30

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 […]