Flash Tutorial 4 How to end a game by Score or Time Limit.
Loading...
2,460
Loading...
Uploader Comments (Flashthingy)
see all
All Comments (8)
-
hi, great tutorial. I am having problems because I am using Flash CS5.5 and it is telling me that this._parent.gotoAndPlay(1); function is not available and to use Display Object but I dont understand how to do it can you please explain it thanks .
-
im making a platform game in cs5, at the end of the course theres a flag,how do i make it go to the 'game over' slide when the player jumps on it/touches it
-
good tut, but how do i make it so when the score is reached all MovieClips stop?
-
Good vid man
Loading...
I re-made this tutorial as well as Tutorials 1, 1a & 3. They are called Tutorials 1, 1a, 3 & 4 ReDo’s. The code and layout is different. These Tutorials will work on both Flash Pro 8 as well as CS5.5 (use the Flash 8 Player and Action Script 2 settings as shown in the video).
Flashthingy 2 months ago
I do not know how to program CS5. The code you are talking about is in the TIME movie clip. I believe it actually says "this._parent.gotoAndPlay(5);" not frame 1. If this is correct try removing the word "this" and the period ".". Here is the new action script "_parent.gotoAndPlay(5);". This will work on Action Script 2, no idea about CS5. If it does not work you will have to learn how the return to scene 1 from a movie clip, it is a must if you plan to go any further. Good Luck
Flashthingy 2 months ago
Make 3 movie clips; player_mc, flag_mc and GameOver_mc (make sure frames 1 and 2 of GameOver movie clip have the action script "stop();". Put the rest of Game Over images what ever on frame 2. Write this action script on scene 1.
if (flag_mc.hitTest(player_mc)) { GameOver_mc.gotoAndPlay(2); }
Flashthingy 3 months ago