Add basic map editor, change map system

This commit is contained in:
Anuken
2017-12-17 23:51:55 -05:00
parent 1b3d964b83
commit 1a8fdda421
34 changed files with 1237 additions and 465 deletions

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

+95
View File
@@ -0,0 +1,95 @@
{
"maps": [
{
"id": 0,
"name": "maze",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
},
{
"id": 1,
"name": "fortress",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
},
{
"id": 2,
"name": "sinkhole",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
},
{
"id": 3,
"name": "caves",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
},
{
"id": 4,
"name": "volcano",
"visible": true,
"flipBase": true,
"backgroundColor": "646464"
},
{
"id": 5,
"name": "caldera",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
},
{
"id": 6,
"name": "scorch",
"visible": true,
"flipBase": false,
"backgroundColor": "e5d8bb"
},
{
"id": 7,
"name": "desert",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
},
{
"id": 8,
"name": "island",
"visible": true,
"flipBase": false,
"backgroundColor": "e5d8bb"
},
{
"id": 9,
"name": "grassland",
"visible": true,
"flipBase": false,
"backgroundColor": "5ab464"
},
{
"id": 10,
"name": "tundra",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
},
{
"id": 11,
"name": "spiral",
"visible": true,
"flipBase": false,
"backgroundColor": "f7feff"
},
{
"id": 12,
"name": "tutorial",
"visible": true,
"flipBase": false,
"backgroundColor": "646464"
}
]
}
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 77 KiB

+1
View File
@@ -49,6 +49,7 @@ io.anuke.ucore.scene.ui.ImageTextButton$ImageTextButtonStyle: {
},
io.anuke.ucore.scene.ui.ScrollPane$ScrollPaneStyle: {
default: {background: border, vScroll: scroll, vScrollKnob: scroll-knob-vertical},
volume: {background: button-map, vScroll: scroll, vScrollKnob: scroll-knob-vertical},
clear: {vScroll: scroll, vScrollKnob: scroll-knob-vertical}
},
io.anuke.ucore.scene.ui.Window$WindowStyle: {