Fake hills
Posted: 16 Jul 2017, 11:36
which lets you build in a linear way). In order to work you have to provide 16 frames which represent all neighbor combinations.
For fake hills our image looks like And the code for three distinct heights
Note:
I don't want to compete with other plugins in any way. The purpose of this plugin is to show how things can be done so you can use it in your own projects. For this reason you may use this plugin (images and json) however you want, also without giving credit to me or theo. Have fun
This plugin shows a new feature called "frame alignment area". Set this attribute to true, and you will be able to build your plugin with an areal tool (similar to "frame alignment" For fake hills our image looks like And the code for three distinct heights
Code: Select all
[
{
"id":"$deco_fake_terrain00",
"type":"decoration",
"title":"Terrain level 1",
"text":"",
"width":1,
"height":1,
"frames":[{"bmp":"fake_terrain.png","w":32,"h":20,"count":16}],
"frame alignment area":true
},
{
"id":"$deco_fake_terrain01",
"type":"decoration",
"title":"Terrain level 2",
"text":"",
"width":1,
"height":1,
"frames":[{"bmp":"fake_terrain.png","w":32,"h":20,"count":16,"handle y":16}],
"frame alignment area":true
},
{
"id":"$deco_fake_terrain02",
"type":"decoration",
"title":"Terrain level 3",
"text":"",
"width":1,
"height":1,
"frames":[{"bmp":"fake_terrain.png","w":32,"h":20,"count":16,"handle y":20}],
"frame alignment area":true
}
]
I don't want to compete with other plugins in any way. The purpose of this plugin is to show how things can be done so you can use it in your own projects. For this reason you may use this plugin (images and json) however you want, also without giving credit to me or theo. Have fun