building
Moderators: Scenario Moderators, Plugin Moderators
- Lobby
- Developer
- Posts: 3719
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: building
These are the in-game construction sites (and cranes):
You can just define more of them, the game will choose randomly between them.
See the world texture world0_0.png (that is the first one) for how these frames look like: viewtopic.php?f=108&t=5659
Code: Select all
[
{
"id":"$site",
"type":"site",
"frames":[
{"x":640,"y":256,"w":32,"h":32,"count":12},
{"x":512,"y":288,"w":32,"h":32,"count":12},
{"x":512,"y":320,"w":32,"h":32,"count":12},
{"x":512,"y":352,"w":32,"h":32,"count":6}
]
},
{
"id":"$crane",
"type":"crane",
"frames":[
{"x":704,"y":352,"w":64,"h":32,"count":4},
{"x":512,"y":384,"w":64,"h":32,"count":8},
{"x":512,"y":416,"w":64,"h":32,"count":8},
{"x":512,"y":448,"w":64,"h":32,"count":8}
]
}
]
See the world texture world0_0.png (that is the first one) for how these frames look like: viewtopic.php?f=108&t=5659