G
Gsti
Guest
Ok is very simple, I have an object with this in create event:
and this in the step event:
Now i thought that the istances of the object didn't share the internal variables. When I spawn one moster his speed will be like +5, but if i spawn another one while the first one is still in the room, their acc_y get add to the other so they start to fall faster than they should. Is there something i'm missing?
Code:
acc_y = -8;
Code:
if (acc_y < 12) { acc_y +0,25}
y = y + acc_y;