Be a Supporter!
Response to: As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

At 6/22/11 03:02 PM, AdsyCurtis wrote:
At 6/22/11 02:30 PM, PoppyClock wrote: Yes, it is difficult without seeing the entire file. Which animation is it skipping? That would be the one you would need to 'reset'.
Each of the movieclips (NEW#) has about 80 frames in them, when you roll over a separate movieclip, they all play frames 1 - 10. When you roll over one of them, it plays frame 11 - 40, roll off, 41 - 70, click off separate movieclip, 71 - 80.

When you go from S1 to S2, back to S1 then S2 again, when you roll over the separate movie clip, it plays 1 - 10 fine, yet when you rollover one of them, it jumps to frame 40, and when you roll off, it plays 41 onwards, and also when you click off of this separate movieclip, the images stay there.

If you want I can send you a copy of the file

So, it obviously has something to do with the RollOn part of the script, but why the images remain in place after clicking off the separate movieclip I have no idea...

Response to: As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

At 6/22/11 02:30 PM, PoppyClock wrote: Yes, it is difficult without seeing the entire file. Which animation is it skipping? That would be the one you would need to 'reset'.

Each of the movieclips (NEW#) has about 80 frames in them, when you roll over a separate movieclip, they all play frames 1 - 10. When you roll over one of them, it plays frame 11 - 40, roll off, 41 - 70, click off separate movieclip, 71 - 80.

When you go from S1 to S2, back to S1 then S2 again, when you roll over the separate movie clip, it plays 1 - 10 fine, yet when you rollover one of them, it jumps to frame 40, and when you roll off, it plays 41 onwards, and also when you click off of this separate movieclip, the images stay there.

If you want I can send you a copy of the file

Response to: As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

Ok, that was probably of no use to you, do you know a line of script to just "reset" all scripts to their original form?
Something like that should work.

Response to: As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

Wait, sorry, this was at the top of all of that ^

onClipEvent(enterFrame){
rollon = false
}

Response to: As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

At 6/22/11 01:56 PM, PoppyClock wrote:
At 6/22/11 01:53 PM, AdsyCurtis wrote: I have a script that when the mouse rolls over it, it'll play an animation within it.
First time you open it up, it works fine, but a quick switch of scenes later, it skips a part of the animation within the movieclip.
In that case, I would suspect the error lies within the roll over script, or possibly the movieclip with the animation.

Yeah, I just tried placing them all into one scene, the problem is still there.
Here is the script within the MovieClip (ignore "Click", and NEW# are the four things that you can roll over to make the animation play):

on(rollOver){
_root.NEW1.swapDepths(1000)
_root.NEW2.swapDepths(0)
_root.NEW3.swapDepths(1)
_root.NEW4.swapDepths(2)
if(_global.Click == false){
_root.NEW1.gotoAndPlay("Play1")
_root.BoxFade.gotoAndPlay("BoxPlay")
_global.rollon == true
}
}

on(rollOut){
if(_global.Click == false){
_root.NEW1.gotoAndPlay("Close1")
_root.BoxFade.gotoAndPlay("BoxClose")
_global.rollon == false
}

}

I doubt that this'll help, but you never know...

Response to: As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

At 6/22/11 01:44 PM, PoppyClock wrote: Don't use scenes.
Define 'screw up'.

By "screw up" I mean, that I have a script that when the mouse rolls over it, it'll play an animation within it.
First time you open it up, it works fine, but a quick switch of scenes later, it skips a part of the animation within the movieclip.

I'll try that now.

Response to: As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

Oh yeah, plus it's getting marked for my end of year project tomorrow...

So, you know, no biggie, or, whatever, people, say?

Please help.
Adsy

As2 Help Needed Urgently!!! Posted June 22nd, 2011 in Game Development

Hello!
I urgently need help from the awesome community of Newgrounds!
I have a flash project with 2 scenes, going from scene 1 to 2, the animations in scene 2 are fine.
But going from scene 2 back to scene 1 then returning to scene 2, the animations in scene 2, screw up!

So I was wondering if there was a script to reset the script when jumping between scenes so that it's basically the first time opening it up.

Confused?

Here's a chart:

Scene 1 = S1
Scene 2 = S2

S1 - S2 = Ok
S2 - S1 - S2 = Aggggh!!! Wtf?!?!!

So yeah...

Please help!!!
Adsy

Response to: Final Major Project Game Help (as2) Posted May 8th, 2011 in Game Development

Thanks, but there's something else which I can't really explain on here, so if anyone has Skype can you add me soon so I can show you what I have and need help with?

Response to: Final Major Project Game Help (as2) Posted May 8th, 2011 in Game Development

At 5/8/11 11:36 AM, Sanjeev98 wrote: Making a movieclip follow or face the mouse:

onClipEvent(enterFrame){
radians = Math.atan2(_root._xmouse - _x, _root._ymouse - _y)
degrees = radians * 360 / (2*Math.PI) + 90
this._rotation = degrees
}

I think it was Denvish's code for this, many tutorials of which can be found on this site.

Thanks, I had a quick go with it, but it was spinning in the opposite direction, so I messed around with it and this was what I needed,

onClipEvent(enterFrame){
radians = Math.atan2(_root._ymouse - _y, _root._xmouse - _x)
degrees = radians * 360 / (2*Math.PI) + 180
this._rotation = degrees
}

And by the way, do you know what the Key code is for left clicking on the mouse?

Response to: Final Major Project Game Help (as2) Posted May 8th, 2011 in Game Development

By the way, what I didn't make clear is that I have a game, I just need help with things like, making a Movieclip follow the mouse by rotation and other things...


Hello.
I am currently in the middle of making a game for my Interactive Media course which will be going towards my final mark and I require some help from people who have a vast understanding of AS2...
I do have someone in my class who is capable of helping me but I feel that I've pestered him for help for too long now, especially seeing that he should be working on his game...
So if you think you can help, add me on Skype, so then we can "screen share", my username is adamgcurtis...
It's 3:05pm where I am now, so I will be keeping Skype open for the rest of the day...
Please help,
Adam.

Voice actor needed!!! Posted August 27th, 2010 in Collaboration

Hello!
My name's Adam.
And I need a voice actor for two short animations I'm doing...
I need this person to be someone who can do a goofy saturday morning kids show voice (which quickly turns into a normal voice).
And just a normal voice.

Please PM me if interested or send me an e-mail at-
adamcurtis.mail@googlemail.com

Please contact me via these as I won't be able to keep an eye on this forum.
Thanks :)

Response to: Voice Actor needed pls :) Posted August 27th, 2010 in Writing

At 8/26/10 02:34 PM, TrevorW wrote: There are plenty of voice actors on NG but you have sadly posted this on the writing forum; and, while many of the writers may be voice actors, your best bet would be to post this in the collaboration area or the audio area.

Cheers.

Thanks yeah. I noticed after that I'd clicked on the wrong forum, which just so happens to be the one above the one I wanted lol

Response to: Voice Actor Advertisement thread Posted August 27th, 2010 in Audio

Hi.
My name's Adam and I need a voice actor for a short animation which I am...
Well, animating...

I need the person to be someone with a clear microphone (I can't do it because mine's crap :( )
And I need them to say-

Oh hiya kids! (In a typical saturday morning show goofy voice)
It's me Sammy, telling you kids to stay in sch- OH DEAR GOD!!! (During the last part, I need the person shouting that part to revert to his normal everyday voice)

You can contact if interested via this forum, or direct to my e-mail at-
adamcurtis.mail@googlemail.com

Response to: Voice Actor Wanted :) Posted August 27th, 2010 in Collaboration

At 8/26/10 12:57 PM, RicePirate wrote: Ironically, there's a thread that matches your request exactly...

Voice Actor Wanted

You can also try the Voice Actor Advertisement Thread

Good luck!

Thanks Rice!

Response to: Voice Actor Wanted :) Posted August 27th, 2010 in Collaboration

At 8/26/10 01:00 PM, cam155 wrote: my school has an entier media department so i can use that

When are you back in school?

Response to: Voice Actor Wanted :) Posted August 27th, 2010 in Collaboration

Well, I'd like someone to be able to do it as soon as possible, but when are you back in school?

Voice Actor Wanted :) Posted August 26th, 2010 in Collaboration

Hi.
My name's Adam and I need a voice actor for a short animation which I am...
Well, animating...

I need the person to be someone with a clear microphone (I can't do it because mine's crap :( )
And I need them to say-

Oh hiya kids! (In a typical saturday morning show goofy voice)
It's me Sammy, telling you kids to stay in sch- OH DEAR GOD!!! (During the last part, I need the person shouting that part to revert to his normal everyday voice)

You can contact if interested via this forum, or direct to my e-mail at-
adamcurtis.mail@googlemail.com

Voice Actor needed pls :) Posted August 26th, 2010 in Writing

Hi.
My name's Adam and I need a voice actor for a short animation which I am...
Well, animating...

I need the person to be someone with a clear microphone (I can't do it because mine's crap :( )
And I need them to say-

Oh hiya kids! (In a typical saturday morning show goofy voice)
It's me Sammy, telling you kids to stay in sch- OH DEAR GOD!!! (During the last part, I need the person shouting that part to revert to his normal everyday voice)

You can contact if interested via this forum, or direct to my e-mail at-
adamcurtis.mail@googlemail.com