Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
spritelayout_flip_example
Wrap
Raw
Revise
spritelayout
concrete_platform_layout
{
ground
{
sprite
:
GROUNDSPRITE_TRACK; index
:
[
0
,
-
1
]
}
building
{
sprite
:
platform_set;
index
:
[
0
,
1
]
yextent
:
4
;
}
childsprite
{
sprite
:
cargo_set;
// index: 0; // default
xoffset
:
[
32
,
16
]
;
yoffset
:
-
16
;
}
building
{
sprite
:
platform_set
(
2
)
;
index
:
[
2
,
3
]
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
pizr96hyh
Anonymous
08 Jan 2015, 14:36:49 UTC
Diff
po9b54ecz
Anonymous
08 Jan 2015, 14:32:01 UTC
Diff
Comments