GabrielBalas's Recent Forum Activity

  • I can't use user interaction because the archer is only a troop in middle of many. Every archer fights the enemy troops automatically when they see 'em so i need them to shoot their arrows in th exact moment they are at frame 13, to be more realistic.

  • Well, i have an arcade game where there is archers. I want them to shoot a single arrow every time they are at the frame 13 of the attack animation. But, actually they are some times passing through frame 13 without shooting and some times shooting 2 arrows at same time when passing through frame 13. What may be the problem adn how can I solve this?

  • Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you so much.

  • I'm not sure how you want the fireball to work if it shouldn't be a guided missile.

    If you simply want to spawn a fireball with the needed angle of motion, you can do this:

    • Pick the correct enemy with the condition Pick by UID, use the Turret expression TargetUID for this
    • Under that condition, create the fireball on the position of the dragon
    • Set the fireball's angle of motion to the system expression angle(Dragon.X,Dragon.Y,Enemy.X,Enemy.Y)

    Don't know whether this is what you want though..

    I have already done the part off the fireball's angle. But now I'D like to solve the pictures' problem. Can you help me?

  • I have a dragon that flies in the air above the enemies.

    When some enemy enter the radius range of 280 of the dragon, it stops moving (set bullet speed 0) and starts the attack animation. In the attack animation the dragon spawns a fireball that have 300 of range and 1000 of rotate speed. But i don't want the fireball to act like a guided missile. I want the ball to be spawned with the necessary angle of motion to hit the target in the dragon range without using turret behavior in the fireball.

    After this i want the dragon to choose another target when the enemy is 90º under him or pass to behind the dragon. Just like in the images below.

    Shooting the first one.

    First one get on off the "realistic view" then choose another

    Nobody in the "realistic view" then keep flying in the way.

    How can I make it?

  • drive.google.com/open did a quick mock up of what I think you are trying to do .capx is downloadable, hope this helps.

    Hey bro, I made everything that is on the capx but even this way my fireball don't change its intial angle. What may be the problem?

    I want my dragon to spawn the firebbal in the frame "7" and shoot it on the nearest enemy (on the ground or in the air).

  • I want my fireball, when created, to take the necessary angle to the nearest enemy, that makes part of the "bad" family.

    How do I do it?

  • I did it. Thank you so much for the attention and the help.

  • I thought it worked but don't worked.

    I've made this way but the arrow and the badsoldier are killing every instance that they collide.

  • Should I place all 4 subtract actions together?

    Like this?

  • Here it is . Sorry for the language, i hope you can understand.

GabrielBalas's avatar

GabrielBalas

Member since 1 May, 2017

None one is following GabrielBalas yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies