Search tutorials
_root.onEnterFrame = function(){
if(inPlay==true){
checkForKeys()
checkForCollisions()
checkGame()
}
}
This is pretty simple: If inPlay is true, the game checks for keys, collisions, and everything else. Well done. That covers basically all of the things in a multi-level game!
| » Level Intermediate |
|
Added: 2004-12-29 Rating: 6 Votes: 14 |
| » Author |
| I love making flash games but it's really annoying when Flash doesn't work! |
| » Download |
| Download the files used in this tutorial. |
| Download (17 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!