"Next layout" borked / freaking out

This forum is currently in read-only mode.
  • Okay, first of all, let me say that I hope that this makes sense. I took some screenshots in the hope that that would help.

    Anyway, I think that "next layout" is completely broken, but I'm not entirely sure if this is a bug or just me being dumb about something.

    First, we have this:

    <img src="http://i73.photobucket.com/albums/i240/eieidan/firstscreen.png">

    This setup is (fairly obviously) the order in which the layouts are supposed to be played. Upon running the program, the opening cutscene plays as expected, and then the next two events are completely given a pass in favor of Stage One. Okay, that's weird. So I closed the program and reopened it.

    <img src="http://i73.photobucket.com/albums/i240/eieidan/secondscreen.png">

    Sure enough, the events have rearranged themselves to reflect the order in which they played before. Okay, it's just a refresh glitch maybe. I rearranged the layouts into their right order and hit play. The stage one screen pops up, then the title screen, then the cutscene. Okay, let's try restarting Construct again.

    <img src="http://i73.photobucket.com/albums/i240/eieidan/thirdscreen.png">

    So it's not just a refresh glitch. It's seemingly rearranging the entire layout set every time under its own set of mysterious rules.

    My game is done with the exception of weaving stages together. If this is a bug, it's a major one, and I need to know how to get around it soon. I have not yet tried using pure "go to layout" with a string literal, but I will assume that it works for the sake of my sanity.

    Any information is appreciated.

    Edit: Wrong image codes. Whoops.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is a known bug I think, same thing happens sometimes on the animator bar.

    <img src="http://i73.photobucket.com/albums/i240/eieidan/firstscreen.png">

    The events sheets, should also be a dead giveaway that something is wrong.

    I think as it is you just have to plan on using layouts, sheets, animations in the order you create them.

  • I managed to "fix" (read: "get around") this by just hard-coding transitions with "Go to layout" instead of "Next layout". If anyone else is having the same problem, I'd recommend this approach. Note that this was after closing and reopening three times to make the first layout actually first.

    You have no idea how good it is that this bug has a workaround. I would have been utterly screwed without it.

  • Yeah, this bug has been reported before - it seems dragging layouts in the project bar to change their order sometimes looks like it's changed the order, but it hasn't really actually done anything. I haven't ever been able to reproduce it myself, but I'll see what can be done about it...

  • Yeah, it does that thing every time for me. I've just gotten used to "Go To Layout" and marking my layouts with numbers according to when I created them.

  • Whilst there's clearly an annoying bug here - which I'm looking into - you can just use names in your Go To Layout action, which is probably the better solution anyway (what if you wanted to re-order your levels/layouts after you'd added a lot of these events?).

  • This is now fixed.. it was code from when event sheets weren't in the Project Bar messing up.

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