Supporting the object recycler

For developers using the Construct 2 Javascript SDK

Post » Mon Aug 25, 2014 11:56 pm

I'm trying to make my plugin as efficient as possible, and getting some lag when i create/destroy objects en masse.

I know construct has a built in system for making object pools and recycling them, with createrow and deathrow lists and all that. I'd like to know what the best way of supporting object recycling is, or if i have to do anything at all. I'd think there's some best practice or general steps i must take for the recycling to work as well as possible.
B
79
S
13
G
8
Posts: 1,976
Reputation: 9,947

Post » Tue Aug 26, 2014 2:49 am

See the official array plugin, or official text plugin.
B
109
S
27
G
276
Posts: 4,480
Reputation: 154,420


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests