lionz's Recent Forum Activity

  • A screenshot might be fine if it's all the events but the file is better so I could debug it straight away

  • Restarting the layout doesn't reset the global variables back to their initial values, they stay the same.

    Let's see the file

  • Are you using construct 2? You could probably still open my file on construct 3 here and play it to take a look. Go launch construct 3 at the top and open file.

  • From event 11 and down you have an 'OR experience > x' condition and when you go over 150 event 11 is always true, and on the right you're setting the animation to Swim, so if your score is 150 it will always try to play Swim animation even if you're dashing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No need to use functions, just conditions within that one function, if local var is 1 then play sound 1 etc

  • Yes the issue is what I've already described above, not sure what more I can say. In your example you don't have enough experience to do both 1 and 2, thats why it doesnt do them both. When you have 1600 experience it is enough to run both 1 and 2 because it is checking all of your events from top to bottom.

  • I'm not sure if that's a great way of doing it though even if it is working, you shouldn't have to create 500 objects to get this to work, just follow the above or I can make an example.

  • Restarting the layout does not reset the global variables so you must have another event doing it.

  • I still can't see the proper event structure but it sounds like it is changing the character level in the same tick so it changes character level to 1, which is true for the event below then changes it to 2. You can put it all in one event with sub events/else so it checks the level and only runs one of the actions.

    So if level = 1 do this else if level = 2 do this, not separate events down the sheet.

  • Oh and add a while arrcount is less than something so it doesn't keep calling the function.

  • You could probs do it all in one function, check for value at X of the array which is a global variable counter starting at 0, lets call it arrcount. In the function set a local variable to array.at(arrcount), then run your sound checks. Then wait as long as you want, add 1 to arrcount and call the function again.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies