Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
spritelayout_flip_example
Wrap
Raw
Revise
spritelayout
concrete_platform_layout
{
ground
{
sprite
:
GROUNDSPRITE_TRACK; flip
{
sprite
:
-
1
;
}
}
building
{
sprite
:
platform_set
(
0
)
;
orientation_offset
:
1
yextent
:
4
;
}
childsprite
{
sprite
:
cargo_set
(
0
)
;
orientation_offset
:
1
xoffset
:
[
32
,
16
]
;
yoffset
:
-
16
;
}
building
{
sprite
:
platform_set
(
2
)
;
orientation_offset
:
1
yoffset
:
12
;
// if only one value is specified than x/yoffset and x/yextent are swapped automatically for "building" entries
yextent
:
4
;
}
}
Version history
Revision #
Author
Created at
po9b54ecz
Anonymous
08 Jan 2015, 14:32:01 UTC
Diff
Comments