NewGRF Tram Sprite Problems

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
PNDA
Engineer
Engineer
Posts: 12
Joined: 14 Mar 2018 15:05
Location: Germany

NewGRF Tram Sprite Problems

Post by PNDA »

Hello,

I have just finished off the first version of my Tram NewGRF. There is one vehicle inside.

But im encountering some placement problems from the sprite. (This is more a Help Question than a Problem)

Screenshot: https://imgur.com/uczpz0Z

Spriteset Code:

Code: Select all

spriteset(spriteset_real_BTSW, "D:\grfs\BTSW\gfx\BTSW.png") {
	[ 0,	100,	236,	28, 	-1,		-1 ]
}
Image
Tony Pixel
Route Supervisor
Route Supervisor
Posts: 459
Joined: 14 Oct 2017 11:06
Location: Ukraine

Re: NewGRF Tram Sprite Problems

Post by Tony Pixel »

PandaCode wrote: Spriteset Code:

Code: Select all

spriteset(spriteset_real_BTSW, "D:\grfs\BTSW\gfx\BTSW.png") {
	[ 0,	100,	236,	28, 	-1,		-1 ]
}
You choose 236x28 sprite, which is a couple of smaller sprites. It will be good if You send here spritesets, I will help you with sizes and alignments.
Image Image
Sprite artist and NewGRF developer, coding in NML. My projects:
NewGRFs: Not Enough Subways Set | North American Passenger Railroads | Elevated Subway Bridge | Tony Pixel's Subway Equipment Set (frozen)
Screenshots: New York City Subway Episodes
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 28 guests