Testing and Debugging
From ManWiki
|
Topic Assignments
Play your game and make a list of the "bugs" in it. Share your game with your classmates and challenge them to find "bugs" in your game too.
Read this tutorial on how to debug your game using tools such as the output window.
The Output window will show results of a "trace" statements in your ActionScript code.
The "trace" statement is used to record programming notes or to display messages in the Output window while testing a movie. It can help you find the location of your "bugs". For example, this "trace" statement will write a message ("You hit the wall") in the Output window when there is a collision with hit the wall object.
if(hitTest(_root.wall) == true){
trace=("You hit the wall")
}
Read this tutorial on how to debug your ActionScript 2.0
Learn about Compiler Errors. If you have any issues with your ActionScript while it is running, the errors will be shown in the Compiler errors window. Here you can double-click on the error, and it will take you to the line of ActionScript that needs attention. Before you edit the code, make sure you close the running game first.
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 debug tutorial".
- TeacherTube results for "flash"
- Ask.com results for "actionscript debug tutorial".


Students Contributions
Here are examples of what other students did in this topic. Please add your work to this section.


