Description

Please Rate!

This asset is a must for any top-down shooter game.

With one line of code, you can easily calculate the required direction to intercept a moving target. All you need to know is how fast the intercepting instance will move (for example, the bullet), and the id of the target (the player). The uses of this script are endless. It is versatile and can be implemented in any game style for any purpose.

  • angle_to_intercept(sp, obj, adv)

OR

  • angle_to_intercept_ext(sp, xoff, yoff, obj, xoff, yoff, rel, adv)

The extra script adds a few more options to allow even more customizability. You can offset the start position relative to the calling instance and offset the target's position relative to its image_angle (or relative to room). Both scripts have the option to skip the full calculation and perform an approximation - this is still accurate at close range and will help make larger projects run efficiently.

All artwork design and animations are by artist Steven Kaule. Check out his website here.

End User Licence Agreement (EULA).

Version 1.0.0. Published July 20, 2016

Created with GameMaker: Studio v1.4.1757

Age Rating: 9+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Kevin K 30 April 2017

Thank you.


Gravatar

Bart B 26 April 2017

Great!

:3


Gravatar

Ata N 15 December 2016

hey!

How It's unfair from an k to rate an asset (1*) without explain why this note..

So, for the asset, Jordan Robinson, I will give you a FIVE STARS (for now) as:
-- It's free.
-- It's very well documented for what we need to say.
-- It's nice from you to let us commercially use it.
-- It's a good surprise for the free assets graphics included.
-- I like the concept.
-- I like top-down shooter.
-- I will come back when I will encounter some bugs (if there are bugs, if not, I will not disturb you ;) !)

Logo

Jordan Robinson (Publisher) 16 December 2016

Hi Ata N, thank you for the positive review! I was worried an k was disappointed by a bug or other issue, but perhaps not. Please do let me know if you find a problem! Thank you

Package contents

Total size 40 KB

Angle to Intercept.extension.gmx 2.37 KB Angle to Intercept
Assets
Backgrounds Fonts Objects Rooms Scripts Sprites
DEMO_spBox_Alien.sprite.gmx 682 Bytes DEMO_spBox_Wood.sprite.gmx 681 Bytes DEMO_spContainer_1.sprite.gmx 686 Bytes DEMO_spContainer_2.sprite.gmx 686 Bytes DEMO_spPlayer_Bullet.sprite.gmx 682 Bytes DEMO_spPlayer_Feet_Normal.sprite.gmx 1.29 KB DEMO_spPlayer_Feet_Sidestep.sprite.gmx 1.24 KB DEMO_spPlayer_Torso.sprite.gmx 940 Bytes DEMO_spSolid.sprite.gmx 678 Bytes DEMO_spTurret_Base.sprite.gmx 692 Bytes DEMO_spTurret_Bullet.sprite.gmx 684 Bytes DEMO_spTurret_Gun.sprite.gmx 995 Bytes images

What is the issue?

Back to Top