Construct API

For developers using the Construct 2 Javascript SDK

Post » Thu Oct 29, 2015 12:55 am

Hello, i'm trying to create a plugin, but can't found detailed documentation about the sdk api.
For example when i need to know about some function get this:
instance.GetBoundingQuad()
Return a cr.quad object specifying the object's bounding quad
But no friendly api information about parameters, the quad object or any else.
Thanks......
B
3
Posts: 1
Reputation: 327

Post » Thu Oct 29, 2015 3:50 am

First look at the sdk manual:
https://www.scirra.com/manual/15/sdk

Next you could look around at the js files in c2's exporters/html5 folder. Quad is defined in one of the files with common in the name.
B
94
S
33
G
113
Posts: 5,357
Reputation: 73,275


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests