Typescript definitions for c2's sdk?

For developers using the Construct 2 Javascript SDK

Post » Sat Oct 21, 2017 2:19 pm

Hello all! long time not posting :D . Has anybody already tried to create typescript definitions for parts of the construct2 sdk, like the shared properties of the instances (like the ones documented in https://www.scirra.com/manual/25/sdk-reference)?

I am just asking because I have been working on a new plugin using typescript and before I do my own type definitions I wanted to see if somebody has already done some work in that area.

I heard rumors that C3 was built using TypeScript but this question is for C2.

Thank you!
Posts: 119
Reputation: 4,291

Post » Sat Mar 24, 2018 9:16 pm

This would be definitely great. I haven't seen TypeScript type definitions for either version 2 or 3. I'm new to Construct 3 and I'm trying to build my own plugin right now. It seems the implementation of C3 plugins still needs to be under the "c2runtime" folder, so I believe your question is still valid.

Do you mind sharing your type definitions? Cheers!
Posts: 9
Reputation: 489

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests