Collision Detection
From SVHSWiki
|
Prerequisites Needed
- Programming Practices
- Action Script Variables assignment in Score Keeping
Topic Assignments
Read this tutorial on Hit Test (Collision Detection)
Adjust the hit area on the frog's tongue in the Fly Catcher Tutorial.
Update the Wiki
- Upload the assets (.SWF and .FLA) you created to your Team page if you are working on a Team game, or to your "My Projects" page if you are working alone.
Update the Blog
- Write a Blog post about this topic, share your learning experience!
Related Links and Tutorials
- Browse the MyGLife.org Flash Tutorials list for more tutorials, information and links!
Search the Web for more information
Here are some search results on Flash ActionScript programming:
- Google results for "flash hit test tutorial".
- TeacherTube results for "flash"
- Ask.com results for "actionscript collision detetction tutorial".


Students Contributions
Here are examples of what other students did in this topic. Please add your work to this section.
Here is an example of ball falling and landing on a platform:
Download the source code (FLA file) of this example to learn from it.
Here is an example of creating walls around the stage area so the character can't move off the stage:
Download the source code (FLA file) of this example to learn from it.
Here is an example of adding obstacles to the stage so that character can't move through them:
Download the source code (FLA file) of this example to learn from it.
