lionz's Recent Forum Activity

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Neither of those links work for me, but sure I will take a look if you can edit them

  • The array looks correct so the problem is whatever you're doing with that function and you have a wait before it that's never good because the loop can finish before you run the function the first time.

  • You need to check for the player level (a global variable) when you click. If it's 1 then you compare the experience and upgrade to 2. Then on next click and you check the player level it will be 2 and you can upgrade from 2 to 3. You can put all these condition checks in the button click event with else.

  • And let's see a screenshot of the array in debug view

  • What disappears? Send your file because not sure what you mean

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

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

25/44
How to earn trophies