Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Problem with Scene Manager — Gideros Forum

Problem with Scene Manager

DoradoLabDoradoLab Member
edited July 2014 in Bugs and issues
Hi Gideros,

I am using the Scene Manager of Gideros. It is very useful and working fine interms of tween effects and changing to new scene. But my problem is when i created second scene if i moved from scene1 to scene2 the scene1 objects will not be destroyed or disposed. Can anyone tell me why is that. Using latest Scene manager class and with the help of example project i used. But still problem not solved. Please help me out.




Thanks

Dorado Lab


Likes: DoradoLab

+1 -1 (+1 / -0 )Share on Facebook

Comments

  • petecpetec Member
    Accepted Answer
    It sounds as if you might be adding your objects to the stage in scene1 using something like
    stage:addChild(object)
    If that's what you are doing, try adding them to self rather than stage
    self:addChild(object)
    which adds them to the scene rather than the stage so that they are removed when you change scenes.
  • amin13aamin13a Member
    Accepted Answer
    Or removing OnEnterFrame Events!
  • @doradoLab just fyi you can call us Giderans :D
Sign In or Register to comment.