Posts Tagged ‘Basics’
 

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 »

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 »

basics1_tn
61
comments
Tutorials

AS3 Flash Games for Beginners: Adding Library Objects to Stage with AS3

Posted February 5, 2009 by Par

This is the first series on As Gamer that will take you through the basics of ActionScript 3.0 Development of a Flash Game. The goal is to give you a fundamental overview of using Flash CS3 or better to develop a game. If you are not a programmer follow along closely and I’ll try to make everything relatively simple. However, if understanding the reasoning behind conditional statements is not obvious, you may want to look into purchasing a programming book at your local bookstore. That said, this series will be very simple, but extremely effective at teaching you the principles behind the average flash game.

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 »

quicktipimage
6
comments
Quick Tips

Quick Tips: AS3 Hiding/Showing the Mouse

Posted February 26, 2009 by Par

Trying to figure out how to hide and show the mouse in as3? It’s simple here’s the deal.

Full Story »