Set Bullet Range at Runtime

This forum is currently in read-only mode.
From the Asset Store
Antisuspend Plugin for Construct 3 prevents the runtime from getting suspended.
  • I think it would be nice to have the option to set the range of the bullet behavior at runtime. It would be a big help for certain type of bullets but still use the same object. For example, you could have machine gun bullets set to have a short range, but if you want a sniper rifle to have a longer range, you could increase the max distance so it can travel farther. This would make it to where you wouldn't have to create a sniper bullet and a standard bullet and check the collisions for each type. It would be a lot easier.

  • you could just set a private variable "range" and look for the distance constantly between it and the player and if it is out of range then it dosent do any damage. Then you could set another private variable in the player "Weapon" and change the range of the single bullet.

    if you wanted to change how it looked then make the bullets frames of an animation and events that check which weapon is equipped so that it switches to the right bullet type. just pause the animation on start of frame.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Added for next build!

  • Added for next build!

    Awesome! Thanks.

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