How do... Multiple stages that change layout param

Get help using Construct 2

Post » Mon Sep 02, 2013 3:57 am

I have a layout that has stages (1-30) that will currently launch separate layouts. However, when I make an update to the code, I have to change it in each layout separately. How do I create this smarter so that I only have to change it once to affect all layouts OR should I not have multiple layouts and only have 1? Do I do this through Dictionaries? How do I do that?
Football Dash (1m+): GooglePlay | AppStore

Zombie Bash: GooglePlay | AppStore
Posts: 500
Reputation: 10,572

Post » Mon Sep 02, 2013 4:37 am

The lack of a way to change the properties of many layouts at once is a real pain in the ass for big projects.

In some cases, you can override properties with events.
for example, if all the layouts share an events sheet, you can set 'on start of layout' event that overrides certain properties regardless of the layout.

but of course, this won't work if the change you want to make is something like the creation/deletion of a whole new layer.

Alternatively, yes, you can create your own level editor and save the levels via an external file.. but that is a pretty huge topic and i wouldn't actually know which direction to point you in as I have yet to do it myself.
Posts: 469
Reputation: 4,683

Return to How do I....?

Who is online

Users browsing this forum: saour and 8 guests