if a bullet hits the little circle the player will explode(you do not need to help me with this).
i have tried "move towards object" in both gml and drag and drop.
the gml code on the step event is
if distance_to_point(p1.x + 4, p1.y + 16) = 0 speed = 0 else move_towards_point(p1.x +4, p1.y + 16, 7)
the code im currently using doesnt work, some times when it stops it starts vibrating and some times it doesnt stop in the middle of my p1 object.....
i just want the object to be right in the middle of my p1 object.
x + 4
y + 16
when the p1hitbox(the little circle) reaches the middle (x + 4, y + 16) it will stop, but when the player moves again it will move to the middle.
in other words.. the little circle(p1hitbox) should ALWAYS be in the middle of the object.
ive searched for hours and tried various things but i cant seem to get it working......
pls help i really appreciate it