To add tunnel support to a road it's sufficient to add the following code to the plugin:
Code: Select all
"tunnel frames":[
{"x":896,"y":192,"w":16,"h":19,"handle y":7},
{"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
{"x":928,"y":192,"w":16,"h":19,"handle y":7},
{"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7}
]


Code: Select all
"tunnel frames":[
{"bmp":"tunnel_frames.png","x":0,"w":16,"h":19,"handle y":7},
{"bmp":"tunnel_frames.png","x":16,"w":16,"h":19,"handle x":-16,"handle y":7},
{"bmp":"tunnel_frames.png","x":32,"w":16,"h":19,"handle y":7},
{"bmp":"tunnel_frames.png","x":48,"w":16,"h":19,"handle x":-16,"handle y":7}
]