Problem condition not encountered strange

0 favourites
  • 3 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • could you please try this example and tell me if it's normal, but I don't think so.

    Go to the bottom where there is an empty square, press and release the up arrow key once and quickly, the character goes up one square, that's normal, now start again, it doesn't work anymore, the character doesn't want to no longer go up, yet the condition is met (event 4), now start again but let the up key be pressed, the character climbs the 3 ladders and here it is also normal, I do not understand what is happening when the first time he don't want to go up?

    drive.google.com/file/d/1AxDRguQckfTT0gEQ646RYG4vT0MmyCb-/view

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • it does not work either:

    This works but I have to add the other condition but it doesn't work:

    ----------------------------------------------------------------------------

    + Keyboard: The ↑ key is pressed

    + PlayerTopPointer: Is overlapping Ladder

    ----+ PlayerBottomPointer: Is overlapping Cubes

    -----> Player: GridMovement - simulate the pressure of Up

    ----------------------------------------------------------------------------

    So the bottom 3 images don't work:

  • In fact a condition can only process one instance of an object at a time, so if I put the same object in the condition several times, it doesn't work, in my case I can't ask at the same time if player is in collision with scale and if something else is in collision with scale, it will not work because it will select the same instance of scale which does not work in my case, so I have to manually search if the player is in collision with a scale and if this is the case then I must use a boolean type variable to indicate that this one is in collision with a scale, the same for the other objects, here a point, so I am finished by succeeding in what I wanted to do and all settling as needed but not without difficulty.

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