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.
Creating an AS3 Object Oriented Custom Cursor
If you have been around flash for any time whatsoever you’ve probably made a custom cursor. If not this tutorial is definitely for you. However, if you have made a custom cursor then the great thing about this tutorial is that we are going to learn to make an object oriented mouse cursor. What’s the benefits? Well we are going to create a class called cursor that we can use in all our future projects, you’ll never have to write a mouse cursor script again. Well, as long as you don’t want to get crazy and add cool effects that is. This tutorial will work great for your games when you want a new mouse that fits the style of gameplay you are developing. So let’s start the tutorial.
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.
Using Tweener in AS3 to Move Objects
Maybe you’re entirely new to this Tweener thing. Wondering what it is or why in the world you would ever want to use it. Let me give you a list of things you can use Tweener for:
fading in and out any Display Object (MovieClip, TextField, Graphic)
scaling an object up and down or in and out over time.
moving an object across the screen with easing over time.
creating a timer.
rotating an object with easing over time.
Creating Bullet Lasers with Photoshop
So far on AS Gamer it’s been all about programming. That’s great and all, but game development isn’t all about programming. A lot of game development involves design and therefore, graphics. So this time I’m going to take you through the process of creating a laser. This should prove to be useful in a variety of flash games. Graphic design for games is more important than most programming sites give credit. While a great game can stand alone with bad graphics… a great game with great graphics is guaranteed to be on a whole new level. Good design is all in the details. Okay open up Photoshop and let’s dive in.
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





file not found?…why did you remove it?, i needed something there, and i dont care if its not...
ok Par, theres something wrong with the stinger.as code on paragraph 3. I seem to get 5 errors on the...
YAY, finally finished ,trial and error. After doing this 4 times, getting it right and then mess it up...
Is there a way to pause the game and show a menu?…