quicktipimage
17
comments
Quick Tips

Using String Variables to Call Functions in AS3

Posted March 18, 2009 by Par

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.

Full Story »

basics1_tn
51
comments
Tutorials

AS3 Flash Games for Beginners: Character Movement / Handling Multiple Keypresses

Posted February 6, 2009 by Par

Movement is extremely important for any game in which you take the role character or object. Bad movement can completely ruin your game, and good movement can make it feel well polished. Of course, movement is just one part of your game, but it’s the foundation of everything your character will do, so you need to give it some attention.

Full Story »

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 »

quicktipimage
2
comments
Quick Tips

Easily Use Frameworks in Multiple Projects By Setting a Global Class Path

Posted April 15, 2009 by Par

This is a super valuable tip that has saved me a lot of time and headaches when starting a new project. Do you often find yourself copying frameworks like Tweener, Papervision, Box2D, as3CoreLib, and all the many others into the directory of your latest project? It get’s annoying eh? Well there is a quick and very easy way to solve this problem so you don’t have to always copy them everytime you start a new project.

Full Story »

colorthumbnail
16
comments
Tutorials

Changing Colors Dynamically with ColorTransform in AS3

Posted January 31, 2011 by Par

Alright so what’s this tutorial about? Well let’s say your game has enemies that on death splat blood all over the place… sounds wonderful. So maybe these enemies are aliens with green blood, but a couple of them need to have blue blood, and well, maybe, another one should have yellow. What do you do? Copy the same movieclip over and over each time changing the color of the blood? No… there’s a much easier solution for handling color changes in ActionScript. (If you don’t like the blood reference, imagine a cutesy dress up game where you want to change the colors of the outfits)

Full Story »