Page 1 of 1

One action to change allignment all sprites?

Posted: 06 Dec 2007 14:19
by Purno
Is there a simple way to adjust the allignment of all sprites (for example moving them up X pixels) in a GRF, rather than having to change xrel/yrel for every single sprite?

Re: One action to change allignment all sprites?

Posted: 06 Dec 2007 15:23
by michael blunck
You aren“t speaking about the problem to shift sprites up inside the train window? If yes, Y-offset for train sprites will probably help.

regards
Michael

Re: One action to change allignment all sprites?

Posted: 06 Dec 2007 15:27
by Purno
Nopes, I'm not talking about the depot view/vehicle list. I already got that piece of code in the GRFMaker file. It's for all xrel,yrel values in all directions (in-game). GRFMaker's default values seem to be a bit off, so I got to move up all the sprites by a few pixels.

Thanks for your help so far :))

Re: One action to change allignment all sprites?

Posted: 06 Dec 2007 17:30
by AndersI
Purno wrote:GRFMaker's default values seem to be a bit off, so I got to move up all the sprites by a few pixels.
Are they always off the same amount? If so, it should be easy to produce a new version of GRFMaker with other default values.

Feel free to PM me about ideas for changes in GRFMaker. Nothing much has happened for quite a while, mostly because no-one has given any concrete suggestions what to change.

Re: One action to change allignment all sprites?

Posted: 06 Dec 2007 18:17
by Purno
AndersI wrote:
Purno wrote:GRFMaker's default values seem to be a bit off, so I got to move up all the sprites by a few pixels.
Are they always off the same amount? If so, it should be easy to produce a new version of GRFMaker with other default values.
It seems like most train sprites could better be placed a few pixels up. Don't know if that's for all directions though. I could investigate a bit more later on. (But changing default values doesn't help for vehicles already alligned to itself (e.g. engines+coaches fit perfectly together now).