renex-engine icon indicating copy to clipboard operation
renex-engine copied to clipboard

path_action_reverse still doesn't work properly

Open Starlash opened this issue 1 year ago • 1 comments

it seems to be an issue with paths themselves rather than with traps that use paths (since this happened on a regular object too), MOSTLY fixed this myself recently, but i've yet to figure out the last piece of the puzzle

right now, when using a path with path_action_reverse, the object will reverse the first time as expected, but on the second reversion, it'll jump to the end for 1 frame before following the path normally again

notes:

  • this is known to occur on an object with path_speed 5 following a path that has either 160 pixels in length or 80 pixels in length
  • the fact that these numbers are divisible may have some meaning, but i've tried paths with grid size 10 and path speed still 5 and it worked properly
  • my current theory is that the object lands on exactly path_position 0 and wraps around to path_position 1 for some reason, because the teleportation happens on the second-last frame of the path
  • could also be an issue with how the "end of path" event is detected, as that is used for the reversal itself

Starlash avatar Dec 09 '23 21:12 Starlash

seems to be a game maker bug, i'll investigate potential fixes

omicronrex avatar Jan 22 '24 15:01 omicronrex