Suggestion Issue: engine recylcling actors reycle height


Pages: 1

yoplalala

  • Subscriber - Stencyl Studio
  • *
November 25, 2015, 07:50:37 am
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.


Pages: 1

Details

  • Reported
    November 25, 2015, 07:50:37 am
  • Updated
    November 25, 2015, 07:50:37 am

  • View Status
    Public
  • Type
    Suggestion
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags