Layouts and level editor

Get help using Construct 2

Post » Mon Jul 02, 2012 9:24 am

hi all...the question is if my game has a level editor can this game export layouts to my capx so i can let the players create thier own layouts and then i can combine it to my capx ^^

if there is a way can you tell me how?
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Mon Jul 02, 2012 9:27 am

@zsangerous

Might create a (layout) loader for level editor.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Jul 02, 2012 10:12 am

@rexrainbow , can you tell me more about this loader?? i just found this topic about layout loader :
(from Kyatric )
http://www.scirra.com/forum/r93loader-layout-global-array-export_topic53163.html?KW=layout+loader
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Mon Jul 02, 2012 10:26 am

@zsangerous

Uh, the concept is -
A. the level editor will create a data structure(an array or a dictionary plugin could get JSON string), then save it into a file or upload it to somewhere.
B. the loader is a parser to parse the saved data structure, do some commands like create instances on layout.rexrainbow2012-07-02 10:26:44
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Jul 02, 2012 10:36 am

@rexrainbow, so its almost the idea is like this one right?
http://disney.go.com/wheresmywater/create.html
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Mon Jul 02, 2012 10:43 am

@zsangerous

Yes, it's an example of level editor & level loader.rexrainbow2012-07-02 10:44:27
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Jul 02, 2012 11:06 am

thanks ^^
B
48
S
15
G
6
Posts: 795
Reputation: 12,035


Return to How do I....?

Who is online

Users browsing this forum: Colorfish and 28 guests