News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Unknown dat.Parameter for Graphics

Started by MHD, November 18, 2011, 06:24:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MHD

Hi,

I am sure, that somebody of the object designers will know. There is a parameter in some dat-files, which I couldn't find in Simutrans-Wiki:
When the cursor is defined, I see e.g.

cursor=graphics.4.0,0,-16

What do the last both numers do?



DirrrtyDirk

This is graphics offset. In your example, the graphic is moved 16 pixels upwards from the position it has in the png itself.

MHD


greenling

DirrrtyDirk
Thank You!
Your info have me make smart.