Collision Detection in Actionscript 3

In this tutorial you will learn how to detect collision using the hitTestPoint method in Actionscript 3.0.

Sponsored Links:

Related Topics

Collision Detection : Create a Basic Maze Game
Learn how to make a basic maze game with collision detection. Collision detection is useful in many different game type scenarios and is easier than you might think. The Collision Detection ensures that the Blue Ball (or Player) does not cross the red lines of the Maze.


Collision Detection
Learn to build games for web and devices using Starling framework. Take advantage of Adobe Flash Player's Stage3D feature and hardware-accelerate your 2D games. In this episode, provide interactivity/movement to hero based on mouse/finger position. Also understand different methods of detecting collision in games and write the logic of collision detection for this game.


Collision Detection in Flash 5
This tutorial is written for those who, like myself, took a look at Flash 5's new collision detection feature and thought one of two things...


Basic 4 Sided Collision Detection
Adobe Flash Tutorial: How to detect the collision between two movie clips.


Learn Actionscript Programming
Good tutorial for Flash programmers. Use the Pythagorean Theorem to generate collision physics in this bubble collision example. Learn how to program Flash apps in this tutorial. We will go through the creation of circle collision physics using Adobe Flash and Actionscript. Upon clicking on the stage a new circle with random properties will be created. You will learn Actionscript 3, as you build and program a simple bubble collision game demo.


Collision Detection in AS3
We are arrived at a very interesting subject. Specially for who wants to develop Flash games, the collision in between objects are fundamentals and often needed.


Collision Detection
Learn how to use hitTarget to detect collisions and how to make it work for your movies.


Creating a Game - Step 2
In this part of the tutorial we will learn how to create collision detection and set boundaries.


Building Frogger with Flixel: Movement, Collision and Deployment
Welcome to the second of two tutorials detailing how to build Frogger for the Web and AIR on Android. In the previous part I talked about how to set up Flixel, change states and we built our first level for Frogger. Unfortunately there isn’t much we can do with our game without a player. This tutorial will cover the basics of movement, collision detection, managing game state and deploying our code to Android.


Basic Filler engine with Box2D part-3
Here we are with the 3rd part this time well manage collision detection .


Collision detection
Finding out when a moving object has hit another object is a crucial part of any action-based game.


Building Games in Flash 5 - Part 3 - Enemies and collisions
This tutorial covers including enemies and collision detection into the game from the previous two tutorials.


Create from Scratch a Away3D Shoot'em'Up Game Part 4
Now that we have the player and some enemies we need for them to be able to interact. This is done through collision detection which you will learn in this fourth part.


Playing Around with Elastic Collisions
In this tutorial we will create a game where the objective is to prevent other objects from colliding with your cursor. We won't use Flash's built in hitTestObject() methods; instead we will write our own collision detection routines.


Your Own Tetris Part 10: Stopping Falling Shapes
here we create a hit bar and test collision against the newly created object using actionscript


Flash Plugin Detection in Flash 8
Flash plugin detection is very easy to implement in Flash 8. Its actually built-in. In this tutorial I will show you how to activate Flash plugin detection for whatever version of Flash that your Flash document requires.


ActionScript for Newbies
ActionScript for Newbies Contents: ActionScript for Newbies, Starting with: What is ActionScript and what can you do with it?
The ActionScript syntac, Variables, Using Functions, Operators, If...Else, Creating functions, Buttons, Array, Loops, ActionScript math functions, Movieclips and the dot syntax, Movieclip properties, Movieclip events, Drawing with ActionScript, Prototypes, The Debugger, Last Words.


User Resolution Detection
Using Actionscript, we will be able to detect what user's resolution is. This tutorial will show you how.


Flash Physics Study
Gravity and collision models have significant applications to Flash. They can be used in game design, movies, or simply just as models. In this article, I'll explain how to create a simple implementation of gravity and collision using the trusted bouncing-ball model.


Mass Collision Detection
The goal of this tutorial is to demonstrate an efficient way to detect collisions between multiple instances two movie clips.When you're finished with this tutorial you will understand an efficient method for detecting collisions between multiple instances of one movie clip and multiple instances of another movie clip, and be able to apply that knowledge.