Posts Tagged ‘controls’
 

tn
22
comments
Tutorials

AS3 Character Movement: Asteroids Style 360 Degree Movement

Posted March 5, 2009 by Par

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.

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 »

thumbnail1
20
comments
Tutorials

AS3 Character Movement: Helicopter Games

Posted February 22, 2009 by Par

There are tons of games that involve character movement and controls and because one of the most popular tutorials on AS Gamer at the moment is about movement… I figured it was time to discuss a variety of movement methods. The first one we are going to discuss is Helicopter game movement. Everybody has played those helicopter games where you have to fly the helicopter through a maze without crashing. Well today we’re going to learn how to make that helicopter move the way it does.

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 »

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 »