i need help with a level editor

Get help using Construct 2

Post » Wed Nov 27, 2013 8:18 pm

hi and sorry for my bad english.
im newbie in construc 2 but no with games programing.
i have publish 2 games recently i know construc 2 and i love this.
im porting my game to others platform with construc 2 but i dont know all construc 2...

my game is a puzzle game with over 200 levels.
one level have over 48 objets for interactuar with.
and my cuestion is:

1) i need one layout for one level??

with other engines I made an editor to define each level, using arrays. what does not is how to save data to an array after loading levels to go one by one.

I have seen the load / save object but either I misunderstood or is not what I want, because I have not seen how to do just to keep my data array, and then you can upload it again.

please help with this
B
6
S
1
Posts: 15
Reputation: 422

Post » Wed Nov 27, 2013 8:27 pm

sorry the object save/ load is not of construc 2 , is the construc classic and i need construc 2. thx and sorry
B
6
S
1
Posts: 15
Reputation: 422

Post » Wed Nov 27, 2013 9:38 pm

1 layout for each level.
B
47
S
18
G
84
Posts: 2,266
Reputation: 49,786

Post » Wed Nov 27, 2013 10:14 pm

[QUOTE=plinkie] 1 layout for each level.[/QUOTE]
Not necessarily, he could store his level data in csv format and add the files to the project, then parse it and load it into an array with an AJAX request when needed (which should be quicker than just throwing EVERYTHING into arrays from the very beginning).

A plugin like this could be used:
http://www.scirra.com/forum/plugin-csv-csv2array_topic46096.html

Here is something that works in a similar way:
https://www.scirra.com/tutorials/651/custom-adaptative-tiled-support-for-construct-2Stiivais2013-11-27 22:15:39
B
10
S
1
Posts: 163
Reputation: 1,436

Post » Wed Nov 27, 2013 10:20 pm

It's pretty easy to make a level editor using an array or dictionary (I prefer the latter), especially if it's just for a puzzle game. There are some examples already, just search for them!
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770


Return to How do I....?

Who is online

Users browsing this forum: purplemonkey and 8 guests