Posted: 6th Dec 2022 3:48
I am trying to set the shape box the same size as the sprite, I am doing this but the shape box is way larger then the sprite as it grows.

+ Code Snippet
SetSpriteSize(fire[A].id,fire[A].firex,fire[A].firex)

SetSpriteShapeBox(fire[A].id,-GetSpriteWidth(fire[A].id),-GetSpriteHeight(fire[A].id),GetSpriteWidth(fire[A].id),GetSpriteHeight(fire[A].id),0.0)

fire[A].firex=fire[A].firex+1
Posted: 6th Dec 2022 4:12
assuming you havent changed the sprite's offset, which is dead center of the sprite:
+ Code Snippet
-GetSpriteWidth(fire[A].id)

...is setting it to the full width of the sprite from the center (to the left in this case).

cut those values in 1/2.
Posted: 6th Dec 2022 4:14
sprite's offset

Good answer lol, I am so stupid lol. thank you