There appears to be a flaw in change scale of entity's sprite
where for whatever reason the entity’s sprite size is converted into body size, which really messes up gameplay logic. For bullet hell type of games, it is important for hitbox to be very small to make patterns possible to go through. With this bug, it becomes an issue to make a game where hitboxes are smaller than the sprite itself.
Reproduction steps:
- Scale unit’s sprite to for example 2.
- Change unit type
OR:
- Create unit
- Scale unit’s sprite right away
Expected result:
Unit should retain/accept sprite size as is and not change body size
Actual result:
Unit’s body size changes when creating unit and changing sprite’s scale right away or when changing unit type after the sprite scale was changed.
For more detail, check the game link I attached: https://www.modd.io/play/eTc433FlD
Try touching walls here when trying to reproduce that bug.