SlimJoe's Recent Forum Activity

  • Thanks! Done!

  • I have another question, if it's not a problem ... When my character dies the score stays the same when the level starts again, and I would like it to be restored to the amount it had when the level started. Any idea on how to do that?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fixed, Thanks!

    I figured out what was the problem... The variable wasn't resetting at all, I just forgot to set the text to the variable on start of layout, so it always said 0

  • Yes, it's a global variable and both layouts are using the same eventsheet, so I think there's something going on that I don't get. Any ideas of what can it be?

  • Hello again.

    Here I come with another silly question...

    I've got a sprite for the player who every time is on collision with an object it adds 1 to the variable for the score, but when it goes to the next layout it always resets to 0... What am I doing wrong?

    Thanks for your help!

  • T'll check that. I'm thinking that that's probably the problem.

    Thanks!

  • Yes, it keeps substracting... How do I stop it?

    And yes, the sprite has other anymations but they shouldn't be running in that momment.

  • This may sound basic, and I thought it was, but it's driving me mad to find a solution.

    I'm new on constructor2, and I'm a learning a lot on youtube and this page, but I can't find the way to make what I want.

    The thing is that I have a player character that can fly in a platform game, so it has the 8directions behavior. The character is wasting energy and in the moment it gets to zero it's suposed to fall and die.

    So I used a variable (GreenLife) and On every X seconds (2) I susstract 1 from it.

    When the variable gets to 0 it should set the animation for the character shutting off.

    So this is what I made:

    The problem is that when the animation is triggered it gets stucked in the first frame, and nothing else is played...

    Any solution or advise? please?

    Thanks

SlimJoe's avatar

SlimJoe

Member since 13 Oct, 2020

None one is following SlimJoe yet!

Trophy Case

  • 4-Year Club
  • Email Verified

Progress

5/44
How to earn trophies