HitTest: Catch a Falling Star

We will use HitTest to create a game. The game will have shooting stars that we try to catch with a paddle.

In step two we will add a paddle to the main movie and modify the code in FallingStar so that it detects when the paddle is hit.

Modify the movie by adding a text box lblHit and a paddle.



Download the movie.
INDEX, Detect if an object hit another, Detect if an object hit a target inside another, Catch a Falling Star Game, Add a paddle, Add code to movie for hit and miss, Modify FallingStar to hit and miss, Add code to move the paddle
Next lesson: Strings in ActionScript

Copyright © Zebra0.com
All rights reserved worldwide.

 
 

Add a paddle