Posts Tagged ‘character’
 

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 »

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 »

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 »

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 »

basics4_tn
38
comments
Tutorials

AS3 Flash Games for Beginners: Registering Hit Tests

Posted February 16, 2009 by Par

Okay so hit tests. Hit tests simply are a check to see if two objects are touching one another. There’s plenty of ways of doing them and every shooter game needs them. AS2 had a nice little function called hitTest, AS3 has two functions…. hitTestPoint and hitTestObject. So what’s new about this hitTestPoint and hitTestObject and which one do you use? We’ll discuss it and how to make our bullets hit enemies and enemy bullets hit us.

Full Story »