How do I fix this?

0 favourites
  • 5 posts
From the Asset Store
**** Fully animated eyeball enemy game sprite *****
  • So basically I want a "menu" to pop up every time the players levels up. And when the menu pops up I want the game to pause. The thing is, I can't get it to work.

    The first time the player levels up it actually works. The little window pops up and if you click anywhere on the screen the window closes. But after that, it never works again.

    I've tried using just one boolean, and I've also tried multiple ones (one for each level), nothing works.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello there ~

    First thing I noticed is that you have these events duplicated for each level, you could have a single event group instead, that would simplify your system; What are the families "Nivel2" and "Nivel3" for? Can you post a screenshot of that menu if possible?

  • Hello there ~

    First thing I noticed is that you have these events duplicated for each level, you could have a single event group instead, that would simplify your system; What are the families "Nivel2" and "Nivel3" for? Can you post a screenshot of that menu if possible?

    Hello! Thanks for the reply!!

    "Nivel2" and "Nivel3" show the "skill" and the background of the menu (because I want it to change depending of the level) that the player gets when levels up. Also, there's a text that shows up that says what is the skill.

    Also, the other problem that I have is that when the player gets to, for example, Level 3, I want one skill to get activated.

  • Alright so, for your background, you could use a sprite with animation frames and set the frame to the current level, for skill unlock, you could use a function that trigger when a level is complete and have a condition for each level that unlocks a skill;

    Now when it comes to your events logic, try this :

    On Left button Clicked + Jugador is SubidaDeLevel : Set SubidaDeLevel to false + timescale to 1 + Set menu invisible

  • Thank you so much again for the reply!

    Would you mind explaining the function part? It's my second time doing a game in Construct and to be honest I don't really know how functions work.

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