See i wanna make a christmas special game
Before christmas is here.
So i have trouble having a duplicated MC to have a hitTest.
Im goanna make a santa claus cathcing game…
Maybe examples tutorials or explainers that are out there and can help me out.
ii just increments itself everytime you put a new duplicateMovie in it… I have some other ideas for you as well… But I’m starving… Hungie Hungie Homie…
lol
btw… When doing a hitTest then…
if(_root.ball.hitTest(_root["santa"+i]){}
Then just figure out some kind of loop to loop aorund the santa’s you already have on screen… And this… And you’re made… I know a way to… But am hungry… peace.
When you get bcak can you help me with this.
See i have an example i found on flashkit
and well i this is a big code and not sure how it works maybe some opne can define it for mme…
[onClipEvent (mouseMove) {
_x = _root._xmouse;
}
onClipEvent (enterFrame) {
for (i=0; i<_root.arraysize; i++) {
if (hitTest(_root["ball"+_root.array*])) {
_root["ball"+_root.array*].move = 0;
/:_root.score = _root.score + 1;
}
}
}
/CODE]
If this can be optimized please tell me and tell me how the code works..
Please hlp me..
After looking at it… I could come up with soemthing that’ll flow ALOT smoother and should get the effects you wnat done alot easier… But for tonight… I’m passing out now… have fun…