Spawn an object dynamically

For developers using the Construct 2 Javascript SDK

Post » Mon May 05, 2014 1:24 pm

Is it possible to spawn an object dynamically from within a custom plugin? Similarly to the official action Misc->Spawn another object (which I can't find in commonace.js)
B
5
S
1
Posts: 28
Reputation: 431

Post » Sun Aug 17, 2014 8:40 pm

had any luck with this?
B
10
S
3
Posts: 75
Reputation: 864

Post » Mon Aug 18, 2014 3:00 am

It is possible. See the code for creating instance. system.js , line 1280.
I use it by this way, call the "create" action directly.
B
110
S
28
G
280
Posts: 4,488
Reputation: 156,568


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests