Game Maker Studio: How to Create Follow Movement, to Strike Object, in a Perfect Location.

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=h6hpMWo5BiM



Duration: 10:55
38 views
0


Visit my Pinterest site: https://bit.ly/2L7BURv

GMX File: https://bit.ly/2zE9FVk

obj_hitperson, Depth -1

Events:

Create

Actions:

target = obj_movehim;
myspeed = 0;
length = 0;
place = 0;

Events:

Step

Actions:

x = obj_movehim.x + lengthdir_x(length,place);
y = obj_movehim.y + lengthdir_y(length,place);
place += myspeed;




Other Videos By MC Designs


2019-11-09Game Maker 8.1: How to Move through Walls, & Create you're own Fog Areas.
2019-11-02Game Maker 8.1: How to Move to the Next Room, Weapons, & Ammo Count.
2019-10-26Game Maker Studio: How to Show Final Hit Effect for Player & Boss, before Game Ends.
2019-10-19Game Maker Studio: How to Collect Partial or Full Health.
2019-10-12Game Maker Studio: How to Create getting Hit & Blinking.
2019-10-06Game Maker Studio: How to Create a Rotating Moving Sun & Border Walls.
2019-09-21Game Maker Studio: How to Hide & Appear, using a Mask Code.
2019-09-21Game Maker Studio: How to Hide Player, without getting Hit by Weapons.
2019-09-15Game Maker Studio: How to Reduce on File Size & Shortcuts.
2019-09-07Game Maker Studio: How to Create a Shader Shadow Effect.
2019-09-01Game Maker Studio: How to Create Follow Movement, to Strike Object, in a Perfect Location.
2019-08-25Game Maker Studio: (Part 2) How to Master Boss Movements & Two Custom Health Bars.
2019-08-25Game Maker Studio: (Part 1) How to Master Boss Movements & Two Custom Health Bars.
2019-08-11Game Maker Studio: How to Flip Sprites, Die, & Keyboard, Mouse Press.
2019-08-03Game Maker Studio: How to Create Simple Snow, Rain or Hail, background.
2019-07-28Game Maker Studio: How to Create a Fire Particle Background.
2019-07-21Game Maker Studio: (Part 2) How to Collect & Enter Password, to Move to Next Room.
2019-07-21Game Maker Studio: (Part 1) How to Collect & Enter Password, to Open Door.
2019-07-14Game Maker Studio: (Part 2) How to Gain Health, using a Custom Health bar.
2019-07-13Game Maker Studio: (Part 1) How to Master Custom Health bar.
2019-06-29Game Maker Studio: (Part 2) How to Master Check Point & Lives.



Tags:
create
follow
strike
location
move
movement
object
how
learn
teach
game
maker
studio
hit
box
android
pc
windows
computer
player
weapon
code
speed
direction
device
instance
pause
image
perfect
precise
attach
glue
stuck
target
lenght
place
step