Bevy Survivors - Session 15: Generalized Weapon Spawns
HTML-код
- Опубликовано: 9 фев 2025
- In this session of our survivors clone, we generalize how weapons are thrown by the player character so that there's more flexibility in the future, including weapons thrown in random directions or the direction the player is facing.
After we are tracking the facing direction of the player (and enemies), we use this information to make sure sprites are facing in the direction of movement as well.