I searched for this but couldn't find exactly what I wanted so bluh.
I'm trying to create an effect where, you slash your weapon and it appears in front of you, basically like in the old school Zelda games.
I've toyed with a few methods but they had some problems:
Creating a new obj and placing it in front of the player works, but if you were say moving and then slashed, the sword obj would appear and you would move up to it, disjointedly which... bleh.
I also considered making it an overlay but I couldn't think of an efficient way to set the overlay's pixel offset without having to check the player's dir and set it based on that.