lionz's Recent Forum Activity

  • It's the same as original issue, attack is always 0. You didn't set it to 1 when you attack.

  • You are hiding the events on the screenshot..

  • You could use 'spawner is off screen' then reset the spawning logic on it. I can't remember what happens in Mega Man.

  • The idle animation condition should be something like '8 direction is not moving + attack=0'. Also on the attack events you need actions to set the variable to 1 and then back to 0.

  • There is a condition under the spawner object 'pick nearest/furthest', you can use this to pick the furthest one away from the player.

  • This is a common issue, it is because the walk or idle animations override the attack. So if you are moving or not, it will always try to play walk/idle even if you shoot. The way to fix is to add more conditions such as 'attack animation is not playing' under walk anims. Problem is you have many different anims so a variable might work here. When you want to attack set an instance variable for attack to 1 and then back to 0 when the attack is over, then with your moving/walking animations add condition variable for attack equal to 0.

  • Check in the debug view to see what value the variable has. It has possibly gone wrong because you are loading a save game after you click the button it's a little strange the logic.

  • OK here

  • In every X seconds where you write a number instead write the name of the variable. You didn't use a global so it will be dragon.seconds

  • Well you are loading a game after setting the variable so that can't be good. Also the event for the shooting should be every <seconds variable> seconds, use the variable and it is one event. The reason it's not shooting is because you're loading a game where the variable is set to 0 most probably. Or maybe you meant to save the game instead of load it ?

  • The post is kinda vague with no information but you could try adding a 'for each enemy' condition and see if it is handled better.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • An example won't help here as I already described it and it is a single event. Let's see a screenshot of what you did and what is not working.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 72 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