Reset layout and Score problem.

0 favourites
  • 5 posts
From the Asset Store
Plugin Transition Layout C3. Layout opening and closing animation for C3. Quickly set up transitions between lay
  • So i have a problem with my game, when im pressing "R" For restart it wont work, or .. it does restart but it dosen't restart my score instead it add score, it makes me kinda frustrated becouse in my eyes ive done right, but i dont know, here is some pictures of my first score and then the score after i pressed "R" and then all of my Score events


    <img src="" border="0" />


    <img src="" border="0" />

    Event Sheet

    <img src="" border="0" />

    I hope any one of you have any tips and fix :)

  • Firstly, a warm welcome to the C2 Forums.

    Unfortunately, I don't think you will find much help in this section of the forums. I suggest you (or a moderator) move your message to the "Construct 2 General" section. This area is for people looking for jobs.

    Next, nobody can understand what the three tiny images in your message mean; they are just too small. It would be better you either redo the images, or you provide a small part of your program that shows the problem. That way, somebody will be able to help you out.

    Alternatively, search the forums on how to do debugging. I would recommend you check the plugins and install one so you can watch variables and see what is happening in the background.


    Gavin GamesWarp

  • This might be a little late but, Ive encountered the same problem in the past and the present. If your going to restart the layout from within the layout use


    And reset the values of the variables to 0 individually by name.

    Hope this helps, worked for me

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Globals hold their value, on purpose, between layouts. If you need to reset your globals add action: Reset global variables

  • Here is what I do. I have never had any problems.

    <img src="" border="0" />

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