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
77
S
13
G
8
Posts: 1,973
Reputation: 9,891

Post » Tue Aug 26, 2014 2:49 am

See the official array plugin, or official text plugin.
B
108
S
26
G
267
Posts: 4,456
Reputation: 149,747


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests