Posts Tagged ‘Timers’
 

basics2_tn
28
comments
Tutorials

AS3 Flash Games for Beginners: Firing Weapons with Delays

Posted February 10, 2009 by Par

So you need to create a weapon, maybe a laser, and you want your character to fire the weapon. At the same time, you want a nice delay between firing each round instead of a crazy Gatling gun effect. Well this Flash tutorial is for you. We’re going to learn to make our Spaceship fire lasers with a nice timeout between each fire. To do this we’re going to use AS3 Timers, so get ready to use a timer and create the perfect delay for your laser.

Full Story »

cc-tn2
22
comments
Tutorials

An Even Better AS3 OOP Flash Custom Cursor

Posted March 26, 2009 by Par

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.

Full Story »

tweener_tn
12
comments
Freebies

Using Tweener in AS3 to Move Objects

Posted March 11, 2009 by Par

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.

Full Story »