00:00
00:00
Newgrounds Background Image Theme

Bundeluxe just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

A really nasty problem

656 Views | 9 Replies
New Topic Respond to this Topic

A really nasty problem 2008-08-22 07:19:03


Ok guys I'm making the Dropping Egg collab and I have a major bug
The thing is like this
when i click the button "Egg" it takes me to frame 40 where the game is
The game is this
GAME
ok the problem is that when it takes me to the game all the medals appear
but if i click the Menu button to get me back to frame 1 and i click the "Egg" button again it takes me to the game again but this time it works perfect
So why does it show me the medals when i click the "Egg" button the first time ?

Response to A really nasty problem 2008-08-22 07:36:38


Bump, we need help with this.


Formerly known as mwmike | I'm moderately active on last.fm | Before you post, read these. Please.

BBS Signature

Response to A really nasty problem 2008-08-22 08:24:51


Can we see the code?


BBS Signature

Response to A really nasty problem 2008-08-22 10:28:10


the FLA has 55 Mb so it would be a pain for me to upload it and a pain for you to download it
the games code is fine
all i want to know is why all the medals show when i press the Egg button but when i press it the second time it works just fine

Response to A really nasty problem 2008-08-22 10:30:56


Ok guys see it with your own eyes
Press the falling Easter Egg to go to the game
When you first press it all the medals appear
but if you go back to the menu and play it again the game works fine and no medal appears
the Collab

Response to A really nasty problem 2008-08-22 10:40:49


You need to post the code, none of us here are magical people that just know how you did something and what you did wrong, we can't help you unless we see how you did it.


.

BBS Signature

Response to A really nasty problem 2008-08-22 11:31:20


Ok in the 40th frame there is the game
everything into a single frame
here is the AS of the medals Movie Clip
onClipEvent (enterFrame) {
if (_root.Score>=5) {
this.gotoAndStop(2);
if (_root.Score>=10) {
this.gotoAndStop(3);
if (_root.Score>=25) {
this.gotoAndStop(4);
if (_root.Score>=50) {
this.gotoAndStop(5);
}
}
}
}
}

There are 5 frames
the first one has nothing in it
the second one has the first medal
the third one has the 2nd medal
and so on...
i hope this code is enough
but i still don't thin kit's because of this

Response to A really nasty problem 2008-08-22 12:53:39


have you put stop on the first frame of the medal movie clip?


BBS Signature

Response to A really nasty problem 2008-08-22 12:58:29


yes i did

Response to A really nasty problem 2008-08-22 13:40:20


pm me the file. (I'm in the collab anyways) I find it easier to be able to see everything.


BBS Signature