I had a nice month off, but I’m back now. In my absence, a few awesome readers provided some guest posts over on avoidergame.com! Here’s a round-up…
First up is Bram Van Damme’s game, Wesley (with code based on the avoider game tutorial). It’s about a man trying to protect his pizza from rhinos using cola. Same old story. You can read more about it here, or just click here to go play it.
Next, a tutorial by DanielSidhion on a feature that’s been demanded for a long time: mouse follow.
In the avoider game as I’ve written it, the avatar acts more like a mouse cursor, snapping instantly to the coordinates of the pointer. This means you can do the old “right-click teleport” trick. Daniel shows us how to make the avatar follow the mouse at a constant speed, removing these kind of problems.
Also, he uses cool diagrams:
Click here to read Moving With the Mouse and Using Speed.
Finally, we have two posts by Kevin Neal, aka rescue86k from the forums.
The first, Win the Game Based On Score, is a brief tutorial explaining how to modify the Counter class from the base to add a few new features (with the eventual aim, naturally, of allowing the player to win the game based on their score).
In the second, Kevin starts off a discussion on the efficiency of nested loops, showing that the optimum code in one case may turn out to be a poor solution in another. It’s open-ended, so throw in your opinion here
Thanks for filling in for me, everyone