Strike Force Heroes 2
The explosive sequel to the hit game Strike Force Heroes!
3.95 / 5.00 9,181 ViewsObsolescence
Defeat the enormous mechanical beasts--and become one of them.
4.02 / 5.00 43,707 ViewsBack in college i made a flash that allowed me to move around shapes (my furniture, that was measured) around a grid (to the exact size of my dorm) to see what would be the best layout for all my stuff.
I need to remake this in flash, except this time it needs to be more advanced and i need help.
I had made the shapes of the furniture buttons that i could click and drag where i wanted, but now i need the following addition:
I would like to be able to rotate the objects into any position (360 degree's around). or at least rotate them into the four 90 degree positions.
Is there a code or procedure i can use for this? Thank you
Every once in very great while comes a ridiculously funny thread. So funny in fact i must put it into my sig http://www.newgrounds.com/bbs/topic /1049194/1
To rotate a movieclip named "mc" 90 degrees:
AS2:
mc._rotation = 90;
AS3:
mc.rotation = 90;
Make each object a movieclip, put the dragging code on it.
Then make a button inside the movieclip (which you click to rotate the main mc)
code on it:
on(Press){
_parent._rotation +=90
}
You put that same button inside each movieclip.
This is of course only rotatable 90 degrees, but you can change it. It'll just take longer to rotate.