0 Favourites

How do I enable a button on one layout from another

  • For example, my idea is that when the player picks up a page item on the game level, they can go the page layout/menu, which if the page was picked up, would enable a button, that when clicked will bring up a problem for them to solve. This is meant to happen with 5 pages, so 5 buttons should be enabled.

    I was using a global (and tried an instance variable as well), where on collision with the page item, add 1 to the variable, then if the variable is equal to 1, enable button 1, if it's 2, enable button 2 and so on.

    My problem is this isn't working, the buttons don't change their state at all for me. Is there any way to do this? This (and the sprite question I asked) are the current only serious problems I'm having with my development.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)