#Change sprite origin

2 messages · Page 1 of 1 (latest)

ionic narwhal
#

Hello, is there a way to change the origin of a sprite? I'm not talking about the camera, I'm talking about sprites being rendered by default at the center of their position.

I already moved the camera so that 0,0 is at the top-left for me, but it seems that rendering a sprite at 0,0 cuts it off exactly at the middle, I was wondering if I could set the origin to be at the top left of the sprite instead.

I already know I could do math and offset the position by half of the sprite's width and height, just looking for a built-in if it exists.

sharp basin