New answers tagged

0

I removed the intersect bounder event and put the code in a step event, then put the reset code for the variable in front of the block code.


0

I would suggest doing a different approach to this question. Assign a place_meeting with some X and Y distance so if your object gets close to the wall, its speeds are reduced to 0, but far from that place, its speed continues to work. Something like: if (place_meeting(x-3,y,obj_wall)) { x +=0 } else { speed (variable) = speed } Another suggestion ...


Top 50 recent answers are included