Search tutorials
makeLevel(1, 50, [250, 500, 750, 800, 850, 700, 750, 800, 850, 900, 1100, 1300, 1600, 2000, 2300, 2500, 3000, 3200, 3300, 3500, 3600, 3800, 4000, 4500, 4550, 4600, 5000, 5100, 5150, 5500, 5800, 5850, 5900, 5950, 6000, 6300, 6600, 6750, 6900, 7050, 7500, 7550, 7600, 7650, 7700, 7750, 7800, 7850, 7900, 7950], [300, 300, 240, 190, 190, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 240, 300, 180, 300, 120, 300, 70, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300], [3, 1, 4, 1, 3, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 3, 4, 1, 4, 2, 5, 1, 3, 1, 1, 3, 2, 1, 3, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "level 1") makeLevel(2, 40, [125, 175, 225, 250, 300, 400, 500, 600, 750, 1000, 1100, 1200, 1300, 1500, 1600, 1650, 1700, 1750, 1800, 2000, 2500, 2550, 2600, 2650, 2800, 2950, 3500, 3600, 3600, 3650, 3700, 3700, 3750, 3800, 3800, 3800, 3850, 3900, 3900, 3950, 4500], [300, 300, 300, 200, 150, 150, 150, 150, 150, 300, 300, 300, 240, 180, 130, 120, 70, 190, 300, 300, 300, 300, 300, 300, 300, 250, 200, 150, 150, 150, 100, 100, 100, 200, 100, 50, 50, 300, 300], [1, 1, 1, 5, 1, 1, 1, 2, 3, 1, 1, 3, 5, 4, 1, 4, 1, 3, 2, 1, 1, 1, 1, 2, 2, 5, 4, 1, 1, 4, 1, 1, 4, 1, 1, 3, 4, 1, 1, 4, 1, 1], "letItSnow") loadLevel()
This can be hard to understand, but it can be simple if you look at it. In each level, we set the number level, the amount of clips, their x positions, their y positions, their types, and the levels password. Finally, we load a level. Read the typeArray in the beginning of the tutorial to learn what object each type refers to. Make your own levels, test them and send them to me. On the next page we will use the functions(My favorite part!)
| » 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!