Changing layout bug

0 favourites
  • 4 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • Hi,

    I recently had a new bug with my construct 2 project. When I change the layout, and then go back to the original one, the code is going messy. Nothing works as it should do. Some code is inactive while some other is activated and shouldn't be. Animation and positions are going mindfuck.

    I don't understand why it's doing this :s

    Here is a video showing what it does:

    *add youtube url* /watch?v=6dwoqQgDF0U&feature=youtu.be

    PS: Tell me if you need my capx project to viex my code or not.

  • You might have Global variables that have changed and affect stuff..

    You might have sprites set to global or other global things..

    You might have some issues with the persist behaviour..

    You might be using system every x seconds (which counts from game start and not layout start)

    If none of these "mights" help you solve your issue, sharing your capx would probably be the only way to pinpoint it..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'll try all of these, exept for the persist behavior, I did not use it.

    I'll tell you if I managed to fix this

  • Thank you. You got it right for global object and global variables not being adjusted. But the main thing was that some groups activated without any logic. That bug desapeared for no reason when I fixed the Global things :s.

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