Hello
Here is the MyHero.as class I'm using in order to control my hero.
http://www.gamez-factory.com/group/MyHero.as
As you can see, the class extends the shapes.BodyShape class and I have two examples, first when my object contains a shapes.Box and the second when my object contains a shapes.Circle class.
http://www.gamez-factory.com/group/square/
http://www.gamez-factory.com/group/circle/
My problem is that using the exactly same hero class, the object behaves completely different when I use anything else than a simple square. When I draw my hero using circles, there is no way to obtain a controllable hero behavior... and my question is why ? :)
And yes, all symbols have the reportBeginContact and reportEndContact checked in their component boxes, and both symbols have the correct class assignation: shapes.Box and shapes.Circle
Thank you all,
Have Fun!
Here is the MyHero.as class I'm using in order to control my hero.
http://www.gamez-factory.com/group/MyHero.as
As you can see, the class extends the shapes.BodyShape class and I have two examples, first when my object contains a shapes.Box and the second when my object contains a shapes.Circle class.
http://www.gamez-factory.com/group/square/
http://www.gamez-factory.com/group/circle/
My problem is that using the exactly same hero class, the object behaves completely different when I use anything else than a simple square. When I draw my hero using circles, there is no way to obtain a controllable hero behavior... and my question is why ? :)
And yes, all symbols have the reportBeginContact and reportEndContact checked in their component boxes, and both symbols have the correct class assignation: shapes.Box and shapes.Circle
Thank you all,
Have Fun!