tarvit's Recent Forum Activity

  • Sorry, I meant "layout".

    So there is no native methods to do this without hacks?

    Maybe there is another API to fetch a list of all layouts and then compare some variable with it?

  • I have some convention of layers naming like: "level_0", "level_1", "level_2". And there is logic shared between events sheets.

    I need to implement a function that does "go to layer by dynamic name". But is important to call it only is layer with dynamic name exists.

    Is there API method for that?

    Tagged:

  • lionz thank you for the good question!

    I noticed that my value contains quotes. It was my first instance variable usage, so I thought they are required for a String value. After I removed them it started working.

    This solved my problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a few Sprite objects called Stamp in may layout.

    I have set instance value `.next_layout` with some strings equal to some my layout scenes in the game.

    Then I have a tap event with action - go to layout from selected Stamp.next_layout.

    And this is not working. I have added Stamp.next_layout to debugging text and I see that event is triggered and value in the clicked object is correct. But layout is not changed.

    This `Got to layout` function works fine if I specify a string constant instead of dynamic `Stamp.next_layout`.

    What am I doing wrong?

  • You do not have permission to view this post

  • You do not have permission to view this post

tarvit's avatar

tarvit

Member since 24 Apr, 2022

None one is following tarvit yet!

Trophy Case

  • 2-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

4/44
How to earn trophies