Menu

#2569 Stendhal client: player graphics not horizontally centered

closed-wont-fix
nobody
None
4
2007-04-28
2006-08-27
No

Tiles are 32 pixels wide, but small characters
(players, NPCs, small monsters) are 48 pixels wide.
That's why such characters were not horizontally
centered inside a tile, but 8 pixels too far to the
right (8 + 32 + 8 = 48).

We currently can't fix this properly (i.e. change the
PNGs) because:
* we want to keep compatibility with RPG Maker 2000 format
* we have graphics that really make use of the full 48
pixels, e.g. oldmannpc.png

Discussion

  • Derek M

    Derek M - 2007-01-15

    Logged In: YES
    user_id=1160510
    Originator: NO

    What about adding a text entry to the PNG file to specify how the engine should interpret the PNG file (ie. do the centering in memory)?

    See:
    http://www.w3.org/TR/2003/REC-PNG-20031110/#11textinfo

     
  • Derek M

    Derek M - 2007-01-15

    Logged In: YES
    user_id=1160510
    Originator: NO

    What about adding a text entry to the PNG file to specify how the engine should interpret the PNG file (ie. do the centering in memory)?

    See:
    http://www.w3.org/TR/2003/REC-PNG-20031110/#11textinfo

     
  • Derek M

    Derek M - 2007-01-15

    Logged In: YES
    user_id=1160510
    Originator: NO

    What about adding a text entry to the PNG file to specify how the engine should interpret the PNG file (ie. do the centering in memory)?

    See:
    http://www.w3.org/TR/2003/REC-PNG-20031110/#11textinfo

     
  • Hendrik Brummermann

    • status: open --> closed-wont-fix
     
  • Hendrik Brummermann

    Logged In: YES
    user_id=990499
    Originator: NO

    I think that it is quite good that the player is not centered within the tile raster because it makes the tiles less obivous to players.

     
  • Miguel Angel Blanch Lardin

    Logged In: YES
    user_id=3949
    Originator: NO

    The tile is still there.
    I have been also wondering about this one too.

     

Anonymous
Anonymous

Add attachments
Cancel