Skip to content

path_action_reverse still doesn't work properly #34

@Starlash

Description

@Starlash

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions