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
Facebook Devlog
----
Main Project: Puzzle RPG "Curse of the Frog Priest"
----
Current 48Hr Challenge: Swiper
B
11
S
1
Posts: 23
Reputation: 631

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
91
S
31
G
103
Posts: 5,235
Reputation: 67,756

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!
Facebook Devlog
----
Main Project: Puzzle RPG "Curse of the Frog Priest"
----
Current 48Hr Challenge: Swiper
B
11
S
1
Posts: 23
Reputation: 631


Return to How do I....?

Who is online

Users browsing this forum: DarkRoomGames, mekonbekon, NadeemAbbass and 10 guests