M
Mathis
Guest
Hello I tried to make a wall collision for the enemy, I tested with all my knowledge but unfortunately I did not go out .. someone could explain to me how the code could be made thank you ! [I speak French]
if keyboard_check(vk_right) {if !place_meeting(x+4,y,obj_wall) {x+=4}}
if x<obj_player.x {if !place_meeting(x+4,y,obj_wall) {x+=4}}