Author Archive
 

asteriods2thumb
21
comments
Tutorials

Asteroids Style Movement… Now with Firing Lasers

Posted November 17, 2009 by Par

A few months ago I wrote a series on character movement. As a part of that series we discussed developing the movement for a spaceship shooter like Asteroids. Since then I’ve had multiple requests for how to make the ship fire bullets. No problem! This one is simple, super simple, you may smack yourself to the head repetitively with an iron stick for not thinking of it. But if you don’t have an iron stick, no problem, we’ll get this all squared away and you’ll be on your way to solving this sort of issue with ease from now on.

Full Story »

cg-tn-4
44
comments
Tutorials

Making a Complete Flash Game: Menus, UI, Screens, or Windows

Posted April 27, 2009 by Par

Whatever you want to call it, a complete Flash game is going to need an user interface that kicks off the game. A place where the user can get more information about the game, see the credits, save the game, load the game, whatever needs to be done. The Menu the starts the game provides this functionality. So how are we going to do it? Well, you’re probably thinking this is a simple task, and it is. We’re going to make it a step simpler by creating a base menu class that we will extend in all our other menu classes. This base class will keep some of our core functionality so we don’t have to write transitions for each class uniquely.

Full Story »

basics9_tn
71
comments
Tutorials

AS3 Flash Games for Beginners: Scores, HUDS, and User Interface

Posted March 2, 2009 by Par

So what’s the point of having a flash game if there isn’t some way to keep score. Whether it be as simple as an incrementing number or as complex as graphics flying all over the place and icons flashing… your game (if it’s a game) has to track score. Ever since I’ve worked with games (particularly FPS games) we’ve called this our HUD. HUD stands for Heads Up Display and originated in combat air crafts . In our case, the HUD will keep track of our score in our game but it could be used to keep up with ammo, health, lives, awards, names…. anything. So let’s get started making a heads up display to display our scores :)

Full Story »

mousecontrols
11
comments
Tutorials

AS3 Character Movement: Follow the Mouse Controls

Posted February 25, 2009 by Par

This is another tutorial in the character movement series. So far on AS Gamer we’ve discussed different ways to move your game’s hero with the keyboard. Today we are going to discuss how to move your player with the mouse. There’s a few ways this can be done, we can set a default speed that our character always moves at or create movement controls where our character eases into the new position. Both movement styles are extremely useful it just depends on which mouse movement method you are wanting to use for your game. First we’re going to talk about controlling the character at a steady speed following our mouse.

Full Story »

mousecontrols2
9
comments
Tutorials

AS3 Character Movement: Following Mouse with Easing

Posted February 27, 2009 by Par

Honestly this is an addendum to the previous tutorial in this series. This is a simple adjustment to the code we have already wrote but it will give us character movement that eases towards the mouse position instead of keeping a constant speed. It’s a relatively useful effect, I used it in one of my games, Entropy, for the opponent’s paddle movement. So here we go, let’s make our character follow the mouse easing its way into the position.

Full Story »