How to check Game is over?

  • In picture puzzle game, how to make a check that game is completed

  • In picture puzzle game, how to make a check that game is completed

    EDIT you can make a condition that when the puzzle is solved then go to next level layout..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > In picture puzzle game, how to make a check that game is completed

    >

    you can make a global variable "level_complete" set value 0, when the puzzle is solved set value to 1.

    an event that when the value is 1 go to next layout..

    can i show u my piece of code.... actuallyy iam checking first by console, but it is not showing a correct message of check......

  • >

    > > In picture puzzle game, how to make a check that game is completed

    > >

    > you can make a global variable "level_complete" set value 0, when the puzzle is solved set value to 1.

    > an event that when the value is 1 go to next layout..

    >

    can i show u my piece of code.... actuallyy iam checking first by console, but it is not showing a correct message of check......

    Much depends on what you want to do and how you want to do it.

    But, honestly speaking, these are so basic things that I suggest you to follow some beginner tutorials to familiarize yourself with those basic concepts.

    There is not much to show code, you just have to do that to a certain condition (only you can know and decide) the corresponding action will go to the next level layout.

  • Much depends on what you want to do and how you want to do it.

    But, honestly speaking, these are so basic things that I suggest you to follow some beginner tutorials to familiarize yourself with those basic concepts.

    There is not much to show code, you just have to do that to a certain condition (only you can know and decide) the corresponding action will go to the next level layout.

    ok thanks

  • Start of your game isAlive=1

    when you use variables isAlive to 1 and game ends isAlive to 0

    like this

    start of set isAlive = 1

    whatever your code

    to check if player collide with enemy set isAlive = 0

    game over

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