Posts Tagged ‘ActionScript’
 

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 »

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 »

quicktipimage
6
comments
Quick Tips

Quick Tips: AS3 Hiding/Showing the Mouse

Posted February 26, 2009 by Par

Trying to figure out how to hide and show the mouse in as3? It’s simple here’s the deal.

Full Story »

inspirationimage
6
comments
Inspiration

Contest – What can you do in 25 lines of ActionScript?

Posted February 25, 2009 by Par

So what if I said, I’m going to have a contest… an ActionScript programming contest. The goal is to make something truly extraordinary, something that makes you get up and a say wow, that’s amazing. But then I throw in a catch… you only get 25 lines of ActionScript to write the whole program. That’s what kp from 25lines.com said and the results, well, they are amazing. Click the links below and check it out. At least two of the entries are games so you definitely want to give them a good look over.

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 »