I'm wondering in the
public function recycleActor(a:Actor)
if you could reset the actor's height and width to the actor's type height and width.
What's the point ?
I'm creating my own extension where you can set the "real size" not the "scaled size of an actor". this is useful, when you have an image instance, and you want to create an actor for the image instance.
It works perfectly for now ( didn't check the collisions, because I didn't uderstood where to look for simple physics collisions in the engine, don't understand how it works) but every time I use it instead of "killing it" I need to do a an engine.removeActor because of this.
public function recycleActor(a:Actor)
if you could reset the actor's height and width to the actor's type height and width.
What's the point ?
I'm creating my own extension where you can set the "real size" not the "scaled size of an actor". this is useful, when you have an image instance, and you want to create an actor for the image instance.
It works perfectly for now ( didn't check the collisions, because I didn't uderstood where to look for simple physics collisions in the engine, don't understand how it works) but every time I use it instead of "killing it" I need to do a an engine.removeActor because of this.