TomoloGames's Forum Posts

  • I just solved it with the solution below (and it works) but maybe yours is better?

    System / LevelProgress = 1

    ................System / LayoutName = "Level1" / System / Set LevelProgress to 0

  • Thanks again, you are a true hero

    I do have a problem though (surprise, surprise!). At the end of the layout, 1 is added to LevelProgress and the next level is unlocked.

    LevelProgress = 1 = Unlock Level2

    LevelProgress = 2 = Unlock Level3

    The problem is if you play the first level twice, you'll also get LevelProgress = 2 and then the third level is unlocked.

  • How do I check which layout is active? When the Player collide with GOAL in the first Level, 1 is added to the variable Level2. When 1 is added to Level2 an object in LevelMap is created so you can get access to the second level. When the Player collide with GOAL in the second level, 1 is going to be added to variable Level3 and then create an object in LevelMap so you can access the third level and so on.

    Maybe it isn't necessary to have different variables to achieve that?

  • Your first solution works great so I'm going to stick with that one. You can't believe how happy I am now because I've been trying to solve this bullcrap for like 5-6 hours haha

  • It works great! Thanks again, you are an angel

  • I've just sent you an e-mail. You are amazing for doing this

  • Sorry for being stupid but I don't quite understand :p

    Would you mind if I send you the capx-file so you can fix it for me? I would be extremely grateful if you could do so

  • But then it plays the jump-sound when the player is not jumping instead of playing the jump-sound when the player is jumping?

  • Audio -> Is tag "jump" NOT playing

    Audio -> Play "your jumping sound" (tag "jump")

    I'm not sure if I understand what you mean because this just makes it play the jump-sound repeatedly?

  • The player automatically jumps as soon at it hits the "floor" and if there, for example, is something above the player and the "floor" the player is bouncing up and down very quickly and that's when the sound problem starts. Do you understand what I mean? I'm not the best at explaining things and my English sucks :p

  • I recorded a video so you can see/hear the problem. Problem 8 seconds in the video

  • Hi there!

    I have a jump-sound playing whenever the player jumps, which is constantly. The problem is that when the player jump several times within a second, it sounds terrible. So, I was wondering if it's possible to not play the jump-sound if the jump-sound has just been played?

    For example: Don't play jump-sound if it was played 0,1 seconds ago.

    Or: Don't play jump-sound if the jump-sound is already playing.

    Thanks in advance,

    Tomolo Games

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I love you, you're the best! Everything works great now

  • "Try setting Left edge=Window left, and Top edge=Window Top, others set to None."

    Thank you for you reply but these are the settings I have already. But again, thank you

  • I have sent you an e-mail now. Thanks again!