Re: Upgrades
Posted: 28 Jun 2019, 12:39
Can an upgrade have a preview frame? For example, I don't want to change the look of the building itself, but the upgrade should have a pic.
A feature rich city builder game for Android, iOS and PC
https://forum.theotown.com/
Code: Select all
"preview frames":[{"bmp":"icon.png"}]
Code: Select all
[
{
"id":"$Bus_LA_by_A_Dutch_Guy",
"type":"car",
"frames":[
{"bmp":"Bus_LA.png","w":20,"h":15,"count":4}
],
"v2":true
}
,
{
"id":"$Bus_NY_by_A_Dutch_Guy",
"type":"car",
"frames":[
{"bmp":"Bus_NY.png","w":20,"h":16,"count":4}
],
"v2":true
}
,
{
"id":"$Bus_PA_by_A_Dutch_Guy",
"type":"car",
"frames":[
{"bmp":"Bus_PA.png","w":20,"h":15,"count":4}
],
"v2":true
}
,
{
"id":"$Bus_BE_by_A_Dutch_Guy",
"type":"car",
"frames":[
{"bmp":"Bus_BE.png","w":20,"h":15,"count":4}
],
"v2":true
}
,
{
"id":"$dealership1TEST",
"type":"award",
"author":"A Dutch Guy",
"width":3,
"height":3,
"frames":[{"bmp":"dealership.png"}],
"upgrades": [{
"id": "$dealership1TEST_LA",
"frames":[{"bmp":"dealership.png"}],
"price": 2000,
"title": "Los Angeles",
"text": "Busses from Los Angeles",
"monthly price": 20,
"only one":true,
"car spawner":[
{
"cars":["$Bus_LA_by_A_Dutch_Guy"],
"radius":100,
"count":40
}
]
}
,
{
"id": "$dealership1TEST_PA",
"frames":[{"bmp":"dealership.png"}],
"price": 2000,
"title": "Paris",
"text": "Busses from Paris",
"monthly price": 20,
"only one":true,
"car spawner":[
{
"cars":["$Bus_PA_by_A_Dutch_Guy"],
"radius":100,
"count":40
}
]
}
,
{
"id": "$dealership1TEST_AM",
"frames":[{"bmp":"dealership.png"}],
"price": 2000,
"title": "Amsterdam",
"text": "Busses from Amsterdam",
"monthly price": 20,
"only one":true,
"car spawner":[
{
"cars":["$Bus_AM_by_A_Dutch_Guy"],
"radius":100,
"count":40
}
]
}
,
{
"id": "$dealership1TEST_BE",
"frames":[{"bmp":"dealership.png"}],
"price": 2000,
"title": "Berlin",
"text": "Busses from Berlin",
"monthly price": 20,
"only one":true,
"car spawner":[
{
"cars":["$Bus_BE_by_A_Dutch_Guy"],
"radius":100,
"count":40
}
]
}
]
}
]
thxs