Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Gaming and Game Development

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-16-2008, 11:19 PM   #1
changeofseasons71
Registered User
 
Join Date: Dec 2008
Posts: 13
Default [AS2] Making it so that when your score gets to ten, you win the game

I am making an avoiding game, and i have basically everything worked out, except how to win.
I have worked on a peice of script for one hour, and cannot figure out how to do it.
the script is

if (_root.score>=10) {
_root.gotoAndStop("winmou");
this.removeMovieClip();
}

Making it so that when your score gets to ten, you win the game. but the frame does not change, and just keeps playing the game. is something wrong? The script is on the frame and there are no errors. Help D=
changeofseasons71 is offline   Reply With Quote
Old 12-17-2008, 07:56 AM   #2
Hackor Pickel
don't eat me!
 
Join Date: Sep 2008
Posts: 75
Default

EDIT: nevermind... =[

Last edited by Hackor Pickel; 12-18-2008 at 10:03 AM.
Hackor Pickel is offline   Reply With Quote
Old 12-17-2008, 01:33 PM   #3
pradvan
Senior Member
 
Join Date: Sep 2005
Location: NYC
Posts: 250
Default

Where exactly did you put that code?
__________________
FreeActionScript.com- AS2 & AS3 Game Tutorials, Samples, Source Files & Downloads
pradvan is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[AS3] Game score problem FirestarNic Gaming and Game Development 4 08-20-2011 01:00 AM
[AS2] Game help cokeman Gaming and Game Development 2 12-07-2008 06:58 AM
[AS2] help with adding score geirke Gaming and Game Development 4 09-15-2008 10:57 AM
Rate My Game, plz fill the questioner UzumakiJr Site Check 0 12-16-2006 08:48 PM
making a card game arnold ape Gaming and Game Development 7 05-22-2003 11:50 AM


All times are GMT. The time now is 02:08 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.