mob
Move(turf/NewLoc,Dir,Step_x,Step_y)
if(istype(NewLoc, /turf/Test))
world<<"Walking on blue box "
world<<step_x
world<<step_y
return ..()
Problem description:
Hello, I try to calculate "bounds" for turfs (You know, i have 32x32 icon - cliff edge i want allow player come to 50% of turf size (16 px),
Im try to check im on the tile, and if i'm i want to calculate my step_x and step_y to get "virtual edges"
Can anyone explain me how work Move() proc and why when i cross the tile my "NewLoc" is still old tile?
My bound box is equal to default (32)
@Edit:
Ok i have one solution, i can deal with bound_x adn bound_y. But i stil don't understand why i it won't work by default…
@Edit2:
No i can't becouse i forget about collisons….