How to put this on and WHILE,

0 favourites
  • 4 posts
From the Asset Store
100 high-quality footsteps sounds specially crafted to help you put sound to your games
  • Ho, i Need to put this on a regular WHILE, to make run stuff while game is on level 1, 2, 3, 4 etc...

    I can create a while, but then i loose the ability to control the timing of creation.

    Right Now I have two choices

    1- Receive a good tip

    3- Make a lots of event sheets and call them when needed (quite far from being efficent, but its my workaround)

    What i need to do is to COMPARE in witch lever the user is, and then put the lines of codes of creations of monters (controled by time random stuff)

    Any help will be GOOD HELP! :)

    <img src="http://www.woodensp.com/help/howtoputthisonanif.jpg" border="0" />

  • Really short Question, cause i know i may not asked propertly...

    Is there a way to put the ABOVE piece of code IN SOME CONDITION to compare the level?

    That will help me to reduce the random time the monsters appear by level and make the game harder and harder...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is an action that compares the value of variables, if that's what you mean?

    So, like:

    CurrentLevel = 1 -> do all of these sub-events to create these monsters every whatever seconds

    CurrentLevel = 2 -> do all of these sub-events to create those monsters every whatever seconds

    etc.

    I'm not sure exactly what your code looks like because you've chosen a really small snippet, but if I were to guess I'd say you wouldn't even need to use while.

  • Thanks for you reply commarade!

    Look! I solved making an "ADD ANOTHER CONDITION" and puting the desired level to work :)

    I havent get any complex yet to be needy of the sub event stuff :)

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