Cleaning Scenes And Objects

Discussion in 'Buildbox General Discussion' started by sharma.shivam, Oct 23, 2016.

  1. sharma.shivam

    sharma.shivam Avid Boxer

    Joined:
    Oct 23, 2016
    Messages:
    180
    Likes Received:
    10
    hi,there is something that is really wanna know about buildbox,
    how do we dispose/clean the objects and previous scenes that are no longer on screen.
    for example-if i spawned an enemy every second,now when these enemies go off the screen
    how do i dispose these objects properly so that the performance of i game is not affected??

    recently i spawned many enemy per second and my game became very slow..
    can anyone tell me how do i avoid this issue so that it doesn't happen when i test it on simulator and later on a real device??
     

Share This Page