Interactive Layer Clarification Please

0 favourites
  • 4 posts
From the Asset Store
Template for making an interactive book or a simple story book
  • C3/Mobile Game

    After 3 days of testing, I'm either assuming something or doing it wrong. I'd like clarification before I go further.

    I am making a 3D platformer mobile game.

    If layer 1 is set to interactive false, I assume then the player should not be allowed to interact with objects on that layer.

    Example,

    If the code is written: when the player overlaps a coin, add 1 to coinCount and destroy coin.

    If the player is on layer 2 and layer 2 is set to interactive true and layer 1 is set to interactive false, if there are coins on layer 1 directly under the player, the player should not be able to collect coins from layer 1. The player should only be able to collect coins on the layer that is interactive true, right?

    The player should only be able to collect the coins from the layer that is set to interactive true, yes?

    Am I wrong?

    Thank you.

  • "Layers can now turn off 'interactive' option so they don't respond to mouse/touch input"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It only affects mouse and touch input. It does not affect collisions.

  • Ashley,

    That explains why it's not working lol

    Guess I'll have to move back to the variables.

    Thank you for clarifying.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)