Where is the origin of sprites in OpenBOR?

Steven1985

Active member
Hi, I know that every sprite has an origin point is what's used to set the position of a sprite. Where is it and is possible modify its position?
 
You're referring to offset. It's declared at least once in each animation. You can declare one offset for each frame if needed but that could be redundant.

Modifying it easy, just change the value of offset.
 
FYI, this is true of all sprites that aren't part of a model animation. Icons, layers, HUD items, the "Go" sprite, text, and any scripted sprite draws are all anchored at their top left corner by default. That's the bog standard for imaging programs and engines.

You can modify the offset of a script drawn sprite and certain others as well, but there's rarely any reason to do it.

DC
 
Back
Top Bottom