How can i create new Object via JDK in my plugin

For developers using the Construct 2 Javascript SDK

Post » Wed Sep 11, 2013 7:19 am

Hi guys,

I have a question is how can i create new objects via javascript in my plugin.

and How can i get value of global variables in my plugin

Thanksnamkazt2013-09-11 07:22:41
B
5
S
1
Posts: 12
Reputation: 399

Post » Wed Sep 11, 2013 9:08 am

Finally i findout how to do that :

var object = this.runtime.createInstance(this.inst.type,this.inst.layer,502,676);
B
5
S
1
Posts: 12
Reputation: 399


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests