News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

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.
  
***** PAK128 Dev Team - semi-retired*****


greenling

DirrrtyDirk
Thank You!
Your info have me make smart.
Opening hours 20:00 - 23:00
(In Night from friday on saturday and saturday on sunday it possibly that i be keep longer in Forum.)
I am The Assistant from Pakfilearcheologist!
Working on a big Problem!