lionz's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • These are the spikes I remember where he jumps in front of them because theyre on a layer behind, I don't see how that is a solid object? youtube.com/watch

    So if you create spikes sprite, don't set it to solid you can use player on collision with spikes.

  • If they are spikes in Megaman then they shouldn't be solid anyway is what I'm saying. You can do on collision with spike object but don't make it solid because why?

  • Player will always be destroyed when you go to a new layout unless you make him global (tick box on properties) or you create him again in the new layout.

  • Does it need to wait? What are you doing with the function because I thought you are just setting array value to a global variable.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 13-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

26/44
How to earn trophies