lionz's Recent Forum Activity

  • Instead of using waits try using 'on animation finished' so when attack is finished it returns to idle. If you have other animation events they can conflict with this one if more than one is true at the same time.

  • Because the timer behaviour should be on the enemy, not the object that spawns. Then you can use it to pick the enemy properly in event 7 where timer is not running.

  • Difficult without the project file but you I would stop the function from being called every tick, for example by the time you start the 0.2 second timer the function has been called for the same enemy hundreds of times and it queues up. I would get rid of the attack variable and the 0.5 seconds, use the timer itself to lock out the function call event into a run once only when the timer is not running.

  • These are standard events and should work if they are true. Check if the variable value is 1.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It doesn't work how? Better to post a screenshot of the events so we can understand what you are doing. Because events run top to bottom it's possibly doing the first event then the second event very quickly together.

  • Unticked yes

  • You probably exported it while it was in test mode, try again

  • You can choose the starting layout in the project properties

  • There was never an image on that post from what I saw. You wouldn't need to use create by object name there as described since you are picking one object type and spawning one object type, try using spawn as it will resolve the more general issue with instance picking.

  • OP you using system create? I think that doesn't work well with picking, I used spawn.

  • No that shouldn't be the case, a family is treated as an object type and it should run through all instances of family when checking the animation frame. If it creates one object total then that means only one instance is true. I prefer to do it a bit differently so an event is not running every tick but what you describe should still work

  • It works... until multiple CharacterAnimation family members are on that certain frame of that certain animation at the same time. Then, still only 1 object is created.

    Do you mean 1 object total or per instance? If you mean total I'm not sure how that would happen, it should pick all instances of family. This should work and even if they hit the frame at the same time it shouldn't be an issue.

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