We need a way to specify that a movement should be a jump or a slide. Currently, the way to do that is setting the step_size of movables, but this has side effects that are not always easily apparent.
movable.Step() should force a slide, and take the following forms:
Step(NewLoc,Dir,step_x,step_y) //explicit format
Step(coord,Dir) //coord format
Step(vector2,Dir) //vector2 format (z preserved)
Step(dir,Dir,dist=step_size) //directional format
Step(ang,Dir,dist=step_size) //angular format
movable.Relocate() should force a jump, and take the same argument forms as above.
See my megathread in Design Philosophy:
https://www.byond.com/forum/post/2860395
ID:2860404
Mar 18 2023, 12:11 am (Edited on Mar 18 2023, 12:27 am)
|
|||||||
| |||||||