Global variables, Character selection?

Get help using Construct 2

Post » Fri Oct 02, 2015 11:29 pm

So I'm trying to make a game where you select a character on the menu before starting, and the character is just a animation of the original sprite, simply changing its color. Though I want this character to have different abilities as the original. My plan was to use global variables and compare the variable when using different actions to have different outcomes. All would work fine, except for the global variable. I have the menu on a separate layout, and when a button is clicked I was ganna have it select the character, by setting the variable. But the Global variable is on the other layout....

Should I just make the menu over the first layout and destroy it after starting? Any ways around this issue?

EDIT The Global variable was on constant.... Wow. Nevermind guys.
Last edited by Uglypenguin on Sat Oct 03, 2015 12:28 am, edited 1 time in total.
Posts: 130
Reputation: 2,191

Post » Fri Oct 02, 2015 11:33 pm

Globals are global to the project, not the layout.
Posts: 3,886
Reputation: 159,513

Return to How do I....?

Who is online

Users browsing this forum: dop2000, j1elliott and 1 guest