[Concept] Homing missile With fuel gauge and target priority

  • Something i made in request of another post, or a attempt there of.

    https://www.scirra.com/forum/viewtopic.php?f=183&t=128861

    But also as an addition to the game im currently making, but im sure other people could use something similar to this. So comment if you like, or grap the CAPX to improve it.

    Features:

    Higher intial speed, that switches to a constant speed after a while.

    Fuel gauge for each rocket, explodes when used up.

    Rockets explodes on collision with solids

    Rockets explodes when at a certain distant of its target - NOTICE: there is a event to chage it into "Upon impact"

    When rockets cannot see their main target, they expand their vision and search for a secondary target. NOTICE: it wont do anything without a target.

    .....You can hide from the rocket - yay!

    Known bug(s)

    For some reason, sometimes the rocket explodes when they are being launches. Seems like there is a loop somewhere when one rocket is exploding, new ones will also do it.

    Fuel Gauge

    Spends X amount of fuel each second.

    Target Switching

    When the rocket cannot see you, it expands it vision field and finds a secondary target, nearest itself.

    CapX

    Homing Rocket

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Known bug(s)

    For some reason, sometimes the rocket explodes when they are being launches. Seems like there is a loop somewhere when one rocket is exploding, new ones will also do it.

    Target Switching

    When the rocket cannot see you, it expands it vision field and finds a secondary target, nearest itself.

    I found out that if you remove all Player2 from the game and hide the Player behind a wall the rockets will explode when they are being launches.

    Hint: If DistanceToTarget<= 50 > Explosion

  • Zim

    Thank you for the hint, i Will have a look at it when i get home

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)