Hey everyone i really need to learn how to do a Multiple hitTest
If i dont i wont be able to make my game…
SomeOne please help me…
THANKS!
Hey everyone i really need to learn how to do a Multiple hitTest
If i dont i wont be able to make my game…
SomeOne please help me…
THANKS!
multiple hitTest?
Whatta ya mean?
I mean one hitTest for like four MovieClips without writing out hitTest for each MovieClip…
sorry for the delay! don’t lose hope!
maybe there’s a whole different way out of this!
Why do you need it!
Are you duplicating movieclips with duplicateMovieClip() and you want to hitTest all of the duplicated mcs?
Can’t you make a generic function, then call it as and when you need it?
Well Thats might work but im not sure how to do Function()
Could someOne teach me…
Or direct me to a good place ot learn it…
Reply soon…
Thanks!!!
function is easy
like this:
randomize = function() {
myvar = random(500);
}
this just ceates a new variable with a random value from 0-500.
and you can use it like this: (on a button for example)
on(release) {
randomize();
}
I tried that code a couple of times and got it working on and off ill send an fla and show you wht type of game im making and sow you what i mean by having to put alll kinds of hitTest in it…
There would like be 30 if i finished all of it…
So maybe you guys xcanhelp me/…
Forgot the file:pirate:
Forgot the file:pirate:
[SIZE=1]echo…[/SIZE]
Well sorry i thought i posted it right…
Well i still need a Multiple hittest…
Im making a car game now were you run over people but i need more tgan one hirtTest for it…
Maybe you guys can help…
This time here is the FLA
:: Copyright KIRUPA 2024 //--