By popular demand, AsGamer is ready to start a new series dedicated to developing a flash game from the ground up. We’re talking everything: the preloader, the menus, the game, game over, highscore, all that. Now of course, we may take advantage of some already developed systems. For example, we’ll probably use MochiAds LeaderBoard to setup our highscores. However, by the time this series is complete you’ll be able to go through all the steps to create and spread your flash game around the web.
An Even Better AS3 OOP Flash Custom Cursor
In the last tutorial we created a custom cursor, in this tutorial we’ll address some issues that will make our cursor a lot more useful! Today we’ll learn to make the cursor disappear when the mouse leaves the flash window area and reappear on the return. At the same time we’ll set it up to react correctly during a right click and most importantly maintain it’s position at the top of the stage. This way newly added MovieClips will not be able to appear on top of our cursor.
Using String Variables to Call Functions in AS3
Have you ever wanted to use a string variable to call a function? Or combine two completely different strings together to form a function name then call it. Okay, that last bit probably not so much. But if you ever do decide to do it, this tutorial will show you how. It’s all about making strings call functions.
AS3 Character Movement: Asteroids Style 360 Degree Movement
Well if we are going to discuss character movement… one of the most important has got to be 360 movement based on rotation. I don’t know if there’s a special name for it, I’ve heard it called everything from 360 degree movement, rotational movement, directional movement, to asteroid style movement. Anyway you want to look at it, it’s a movement style that dates back to arcade games and is definitely a usable option in today’s flash game industry. So how hard is making this angle based movement going to be? Not hard at all.
AS3 Flash Games for Beginners: Scores, HUDS, and User Interface
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
AS3 Character Movement: Following Mouse with Easing
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.
Quick Tips: AS3 Hiding/Showing the Mouse
Trying to figure out how to hide and show the mouse in as3? It’s simple here’s the deal.







