lionz's Recent Forum Activity

  • Add a trigger once to the event. Also you may have other animations that overrule the death animation, this is a common issue people come across, usually something like an idle animation is trying to play at the same time. You should make sure other animations cannot be true, such as adding a condition to an idle animation event 'death animation is not playing' or something similar.

  • If you use the expression distance(enemy.x,enemy.y,wall.x,wall.y) this will give the value of the distance between the two and I guess the size value for the laser.

  • Explain how the game works then I can help with events

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The events you have now should work with a sprite, it will face the same way as the laser.

  • Looks like particles are better for spray in a direction, it doesn't rotate the original image. Better to use sprites as you mentioned above.

  • Do you mean you are using default control with arrow keys? If you want to implement things like dashes you'll need to create movement events, even if it is identical to the default controls such as right key is down then simulate control right. Then within these events you can add conditions such as 'is not dashing'. When you said simpler solution what did you have in mind? You created a few events to dash on key press, to make an event to move left and right on key press is just 2 simple events.

  • You have already created a variable 'state', you can use this as a condition on your movement events, if 'not' in state dashing. This will block out movement while dashing.

  • Rotating the particle object should help because it's the angle of the particle object that you need to change for the direction. When you spawn it, set the angle also with an action.

  • If you create them later on for the first time it can sometimes cause lag. You can have them in the layout already at the start and destroy them.

  • Disable 'Diagonals' on the behaviour properties

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

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