12-29-2018, 01:55 AM
This is so tiny, but I just had this sitting around so here it is. Due to the nature of how moving from tiles works, I just had to create a temporary variable to store your original direction when moving in space due to inertia.
I had some other things I wanted to do in this vein, making being in space tiles slightly more interesting visually like having a floating animation like TG does, or orienting your sprite to have your feet facing a wall if you're wearing magboots. But those aren't really predicated on this so there's no reason to include them here.
Video: https://streamable.com/0e5zh
https://github.com/goonstation/goonstation-2016/pull/98
I had some other things I wanted to do in this vein, making being in space tiles slightly more interesting visually like having a floating animation like TG does, or orienting your sprite to have your feet facing a wall if you're wearing magboots. But those aren't really predicated on this so there's no reason to include them here.
Video: https://streamable.com/0e5zh
https://github.com/goonstation/goonstation-2016/pull/98