bug report: next layout action

This forum is currently in read-only mode.
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • According to the wiki:

    [quote:2o2xildv]Next Layout

    Goes to next layout. If current layout is last, goes to first layout. If current layout is the only layout, reloads layout.

    I tried this in the tutorial I've been following and it closes the application when there is only one layout instead of reloading it.

    I created a new project added one sprite added the bullet and warp behavior to the sprite. Then added one event, "on spacebar pressed go to next layout." It also closes the application instead of restarting it.

    BTW, is there a workaround?



  • Hm i made a single layout and used a "spacebar pressed-> next layout" event, and it closed.

    Perhaps the wiki is wrong or outdated? Maybe this has been changed in Construct?

    Are you just trying to restart the layout?

  • Make sure you're previewing all and not just previewing layout or that'll happen.

  • Yeah. Per Rich, this is working fine for me. Please try exporting an executable and retrying. If it happens again, tell us please.

  • The documentation is wrong - I've checked the source and it will exit the application if the current frame is the last and you go to the next layout, or if the current frame is the first and you go to the previous layout. I've updated the Wiki to state this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think I misunderstood. Sorry.

  • Thanks for the clarification Ashley. I'll make sure to report all bugs in the bug tracker. I should have spent more time looking for it as it was right in front of my face in Construct itself .

    I also updated the wiki page under Go to layout with this note:

    "If the go to layout is the current layout it is restarted."

    Which is what I was attempting to do in my one layout application.



  • bubble

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