Sprite size is acting really weird

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.

3 Likes

bumping this since this appears to be ignored, i really need this for my game update where i add CSP movement. CSP movement appears to force body shape to be circular and causes those problems with sprite size converting into body size.

1 Like

it migh take months bro just chill xD