Jump to content

need help with sprite offsets


raymoohawk

Recommended Posts

In the buildcfg.txt file there is a section for sprites and they include their offsets.

For example:

[sprites]
BOS2A1C1        19      69                      ; hell knight
BOS2A2C8        20      68
BOS2A3C7        26      66
BOS2A4C6        22      64
BOS2A5C5        19      65
First number is X offset, second is Y offset.

As a rough guide, X offset is usually is about half the width of the sprite image, and Y offset about same height as sprite image. Bigger X values make the sprite go left, bigger Y values make it go up.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...