Hi, all! I'm trying to learn Construct and make simple game. So, here's my .cap file:
What I'm trying to do is to switch layout from Main menu layout to one of three others depending on button clicked. I first made it using three separate conditions, but I'm now trying to do it in more general way (in case I add more buttons). Note that button texts and layout names are same. Escape switches back from other layouts to Main menu.
The problem is that all three buttons (Gathering, Splitting, Mixing) switch to Gathering layout.
I thought that using object-type inside action (in this case Button through Button.Text) refers to the instance of that object-type which is used in the condition (in this case Button.on_button_clicked), but it seems that Button inside action always refers to the first instance (Gathering in this case).
Does anyone have an idea what's the problem (if there is problem at all!)? Note: I'm using Construct 0.99.62
Thanks in advance for any help!