Tuesday, October 13, 2015

Day 22

Today i tried to play around with google. I found this forum that could help me but, i could not understand the codes that are being shared. Apparently its very simple and it as apparently easy to understand. The codes are:

var i;
i = point_direction(other.x, other.y, x, y);
x += lengthdir_x(2, i);
y += lengthdir_y(2, i);

I tried placing it into the object obj_Zombie with the step event, and in the end it gave me a rather unsatisfied result. Instead of colliding with each other and making it form into a single being, it froze...just froze. Also, another problem was that it would still clump if it doesn't froze. Still, i think my options are to debug, restart, or find another way to make the zombies form into a god zombie. Tomorrow i will look into this with more time.

No comments:

Post a Comment