On-demand allocation of instances

2 April 2012

Tags

  • Club Penguin

Long or dense timelines with nested timelines can generate a lot of instances that are live for only a few frames. Have all instances pre-allocated on load, with their respective renderable is getting expensive. Changed the gotoFrame() code to create and destroy those objects on-demand.