Grant Skinner

The "g" in gskinner. Also the "skinner".

@gskinner

Curly Braces: To Cuddle or Not?

Should you place curly braces on the same line as the statement (cuddle), or on the next line? It’s a debate that has raged for years, and is unlikely to be resolved until curly braces in code become obsolete. Despite that, I thought I would share my opinion on the topic.

First though, let’s look at both sides of the argument. I will try to represent this as fairly as possible, despite my own bias. I’ve numbered the arguments, so it’s easier to reference them in the comments.

Continue reading →

GPSD’08 Results are in!

Another year is gone, and another gPumpkin contest has come to a close. Many a beer and chocolate was consumed, and overall it was a great break from our normal routine. Congratulations to Grant and Wes, whose pumpkin “The Horror of Corporate Conformity” took first place. Between Grant and Wes, one of them have been on the winning team each year. Conspiracy? Probably.

Highlights this year included:

  • A landslide victory by the “Horror of Corporate Conformity”, which sat at around triple the votes of the second place pumpkin
  • Carving with steak knives instead of the traditional tools, which have been lost since last year
  • The very first “dropped” pumpkin. It didn’t break, but it took a good dive from the table.
  • Phantom votes for a non-existent pumpkin, which showed up in the voting app. It turned out to be an old testing file

Overall it was great fun. We leave you with a shot of all the pumpkins together. See you all next year!

gTween beta 3: AS3 Code Tweening Library

I’ve just wrapped up beta 3 of gTween. It’s been a busy few weeks, and is just getting busier with the Korean Game Developer’s Conference, and Adobe MAX around the corner, so it’s not quite as well tested as I’d like, but it seems to be working without problem.

The main feature additions are support for 3D rotation with smartRotation (always rotates in the shortest direction), a rewrite of custom progress points to make them more robust and reliable, the addition of a global defaultEase property, and the ability to globally control what properties will be rounded.

Continue reading →

The Great Pumpkin Showdown, 2008

Keeping with our yearly tradition of squash mutilation here at gskinner.com, I’m happy to present this year’s Great Pumpkin Showdown.

We broke into teams of two, based on seniority, and hacked the crap out of a bunch of defenseless pumpkins while drinking beer, eating pizza, and gorging on candy. Also keeping with tradition, we made the most recent hires build out the pumpkin voting team.

This is our largest batch of jack’o’lanterns to date (five), and definitely our best voting app. Nice work freshmen!

Player 10 is required to view the app below.

Continue reading →