Hi!
I've been learning Box2d, WCK and AS3 for 2 weeks now and I'm building an Air Hockey Game for a school assignment that is to bo finished in 2 days.
I now need your help with the part where a player scores a goal.
When the puck(circle object) touches the goal(a rectangular movie clip) I want to reset the position of the puck and have it go back to the middle of the field.
What is the easiest way to do this? Using a hitTestObject and if then how?
Please give me an N00b-example 😉
I've been learning Box2d, WCK and AS3 for 2 weeks now and I'm building an Air Hockey Game for a school assignment that is to bo finished in 2 days.
I now need your help with the part where a player scores a goal.
When the puck(circle object) touches the goal(a rectangular movie clip) I want to reset the position of the puck and have it go back to the middle of the field.
What is the easiest way to do this? Using a hitTestObject and if then how?
Please give me an N00b-example 😉