I think I found the problem. You must first be moving in a direction before pressing shift in order to dash in that direction. In a later update, after adding some visual indication of where the player is facing, I intend to make it so that pressing shift while stationary will have the you dash in the last direction you were facing.