Like so many others, this is my first flash game so please be gentle.
I am attempting to make an avoiding game by implementing the falling snow tutorial here:
http://www.kirupa.com/developer/flash8/snow.htm
Essentially, I aim to have each of the produced snowflakes be objects that my drag-able MC must avoid.
I have the code to drag my MC called “orb” ( no quotes )
and the snowflake MC is called “snow” ( no quotes )
The project runs at 60fps ( i know its high but i needed it to beat match an animation because you can only have whole integer frames that I am aware of {ex:1,2,3,4,5,6,7,etc. not 1,1.5,2.75,etc} )
and is 600x450
the coding used is on the snow tutorial.
However the main issue, is that for my MC, “orb”, I have tried the code:
onClipEvent(load){
if(this.hitTest(_root.snow){
gotoAndPlay("GameOver", 1);
}
}
i could be WAY wrong, however I really dont know.
I appreciate any and all constructive and helpful advice and input.
Thank you