How do I build a tool to assist in the editor

Get help using Construct 2

Post » Wed Aug 02, 2017 8:10 pm

Hi,

I'd like to create a small tool to assist me in creating my maps inside of Construct 2.
I have CSV's that represent my world exported from Tiled, and I'd like to make a tool that allows me to load this in and have it place objects into the layout based on the CSV.

Is this kind of Editor Extension something that is supported? I have looked into the Javascript SDK a small amount, but that appears to mostly be around add in-game features, not editor features.

Also, I know that Tiled files can be imported directly. But I'm working in Isometric so that doesn't work.
I also know i could build it all at run time using CSV To Array, and then iterating over the Array.
But, because of the way my particular game is setup that's not really an option.

If this isn't an option, thats ok. I'll just place everything by hand.

thanks in advance,
K
Image
Keeghan McGarry | Managing Director
Facebook-Website
B
14
S
3
Posts: 77
Reputation: 1,081

Post » Wed Aug 02, 2017 8:26 pm

The sdk doesn't provide anything for this. You'd have to make a seperate program that generates/modifies the layout xml files themselves.
B
92
S
32
G
110
Posts: 5,295
Reputation: 71,501

Post » Wed Aug 02, 2017 8:35 pm

R0J0hound wrote:The sdk doesn't provide anything for this. You'd have to make a seperate program that generates/modifies the layout xml files themselves.


Thanks R0j0hound, that has pointed me in the exact direction I wanted. Didn't even realise it was all handled by XML's. Thats made my life so simple!
Image
Keeghan McGarry | Managing Director
Facebook-Website
B
14
S
3
Posts: 77
Reputation: 1,081


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, valefor and 24 guests