inherited layer not obeying any zoom rate?

This forum is currently in read-only mode.
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • Hi.

    I'm experiencing some weirdness in my first attempt to use layer inheritance.

    Here's an example .cap file.

    First layout has "inh" layer with an object (I had to make it global so it would show up in the other layout). Zoom rate is set to 0. Only one event that jumps to second layout right away.

    Second layout has two layers with default names. Layer 1 with crosses at edges, zoom rate to 100%, Layer 2 with zoom rate to 0% and inheritance to "inh". There's an "always" event that modifies Display Zoom. The demo shows both layers moving equally, even though Layer 2 has zoom rate set to 0% in both the local layer properties and the inherited properties.

    Is this correct behavior? if so, how should I implement proper inherited UI? any working examples of that?

    Link to upload forum with example file (and same text as in this post):

    http://scirra.com/forum/viewtopic.php?f=16&t=7337

  • Try Construct 3

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

    Try 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)