Yes I do ... is that a bad thing?
Roads
Moderator: Plugin Moderators
- Brody Craft
- Inhabitant of a Infinity
- Reactions:
- Posts: 8034
- Joined: 24 Jan 2017, 11:15
- Location: SE Asia
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Roads
No, i play it as well, im trying to build a big town thing.
- Brody Craft
- Inhabitant of a Infinity
- Reactions:
- Posts: 8034
- Joined: 24 Jan 2017, 11:15
- Location: SE Asia
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: Roads
Brody Jones.
Re: Roads
Will that work with new versions?JustAnyone wrote: ↑30 Apr 2018, 18:13Not sure.
Just use this code which is @Lobbu'sCode: Select all
"bridge frames":[ {"x":512,"y":96,"w":32,"h":48,"count":12}, {"x":896,"y":214,"w":32,"h":26,"count":4}, {"x":512,"y":96,"w":32,"h":48,"count":4},{"x":896,"y":96,"w":32,"h":48,"count":4},{"x":768,"y":96,"w":32,"h":48,"count":4}, {"x":896,"y":214,"w":32,"h":26,"count":4}, {"x":512,"y":144,"w":32,"h":48,"count":12}, {"x":896,"y":214,"w":32,"h":26,"count":4}, {"x":512,"y":144,"w":32,"h":48,"count":4},{"x":896,"y":144,"w":32,"h":48,"count":4},{"x":768,"y":144,"w":32,"h":48,"count":4}, {"x":896,"y":214,"w":32,"h":26,"count":4}, {"x":512,"y":192,"w":32,"h":48,"count":12}, {"x":896,"y":214,"w":32,"h":26,"count":4} ],
- CommanderABab
- AB
- Reactions:
- Posts: 11121
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
Code: Select all
"frames per bridge":16,
- CommanderABab
- AB
- Reactions:
- Posts: 11121
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
You could try:
Code: Select all
[{
"active": true,
"id":"$nmrredroad00",
"type":"road",
"author": "Commander ABab",
"level":1,
"width":2,
"height":1,
"min level":-1,"max level":3,
"frames per bridge":16,
"bridge height":12,
"bridge price":100,
"price":10,
"tunnel frames":[
{"bmp":"tunnel_frames.png","w":16,"count":4}
],
"bridge frames":[
{"bmp":"Bridge_frames.png","w":32,"h":48,"count":16}
],
"map color":{"r":146,"g":0,"b":0},
"frames per bridge":16,
"frames":[
{"bmp":"red highway.png","w":32,"h":16,"count":16},
{"bmp":"red highway.png","w":32,"h":16,"count":16},
{"bmp":"red highway.png","w":32,"h":16,"count":16},
{"bmp":"red highway.png","w":32,"h":16,"count":16}
],
"x flags":{
"flag normal":true,
"flag user2":true,
"flag user3":true,
"flag airport":true,
"flag military":true
},
"overrunnable": true,
"one way": true,
"speed": 4,
"monthly price": 4,
"auto join": true,
"allow bus stop": true,
"allow crossing": true,
"allow transfer": true,
"pile distant": 10,
"title":"nmr red road title",
"text":"nmr red road text",
"hidden":false
}
]
- CommanderABab
- AB
- Reactions:
- Posts: 11121
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Roads
Yes, you can use.Neonmanricky wrote: ↑30 Nov 2019, 04:45Can I use that json n can you tell how do you understand w/h/count on json
w is width in pixels per frame,
h is height in pixels of image,
count is number of frames per image.