diff --git a/gulpfile.js b/gulpfile.js index ca56c3f..19a435e 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -139,7 +139,7 @@ module.exports.default = gulp.series( module.exports['editor:flash:build'], module.exports['editor:flash:html'], - module.exports['client:html5:build'], + module.exports['editor:html5:build'], //module.exports['server:neko:build'], ); diff --git a/src/client/haxe/ru/m/tankz/view/death/DeathLevelFrame.yaml b/src/client/haxe/ru/m/tankz/view/death/DeathLevelFrame.yaml index 1b9887d..ac5c701 100644 --- a/src/client/haxe/ru/m/tankz/view/death/DeathLevelFrame.yaml +++ b/src/client/haxe/ru/m/tankz/view/death/DeathLevelFrame.yaml @@ -17,7 +17,7 @@ views: $type: haxework.view.DataView layout: $type: haxework.view.layout.TailLayout - rowSize: 5 + rowSize: 10 margin: 5 factory: $this:levelViewFactory +onDataSelect: $code:function(value) level = value diff --git a/src/client/haxe/ru/m/tankz/view/dota/DotaLevelFrame.yaml b/src/client/haxe/ru/m/tankz/view/dota/DotaLevelFrame.yaml index 2299d42..f70f6f9 100644 --- a/src/client/haxe/ru/m/tankz/view/dota/DotaLevelFrame.yaml +++ b/src/client/haxe/ru/m/tankz/view/dota/DotaLevelFrame.yaml @@ -17,7 +17,7 @@ views: $type: haxework.view.DataView layout: $type: haxework.view.layout.TailLayout - rowSize: 5 + rowSize: 10 margin: 5 factory: $this:levelViewFactory +onDataSelect: $code:function(value) level = value diff --git a/src/common/resources/dota/config.yaml b/src/common/resources/dota/config.yaml index fde0d92..a2c4b31 100644 --- a/src/common/resources/dota/config.yaml +++ b/src/common/resources/dota/config.yaml @@ -1,5 +1,5 @@ game: - levels: 16 + levels: 23 friendlyFire: true complete: [] diff --git a/src/common/resources/dota/levels/level016.txt b/src/common/resources/dota/levels/level016.txt new file mode 100644 index 0000000..64e8c1a --- /dev/null +++ b/src/common/resources/dota/levels/level016.txt @@ -0,0 +1,3 @@ +points: [{x: 0, team: radiant, y: 28, direction: right, type: eagle, index: -1}, {x: 0, team: radiant, y: 4, direction: right, type: tank, index: 0}, {x: 0, team: radiant, y: 12, direction: right, type: tank, index: 1}, {x: 10, team: radiant, y: 16, direction: right, type: tank, index: 2}, {x: 16, team: radiant, y: 14, direction: right, type: tank, index: 3}, {x: 20, team: radiant, y: 26, direction: right, type: tank, index: 4}, {x: 38, team: dire, y: 0, direction: right, type: eagle, index: -1}, {x: 38, team: dire, y: 24, direction: left, type: tank, index: 0}, {x: 38, team: dire, y: 16, direction: left, type: tank, index: 1}, {x: 28, team: dire, y: 12, direction: left, type: tank, index: 2}, {x: 22, team: dire, y: 14, direction: left, type: tank, index: 3}, {x: 18, team: dire, y: 2, direction: left, type: tank, index: 4}] +data: "555555555555555555555555000000000044000055555555555555555555555500000000004400005555005500550055550055550055554400000000555500550055005555005555005555440000000000000000000000000000000000555500004400440000000000000000000000000055550000440044550055555555555555555500555555000000000055005555555555555555550055555500000000005500005555550000000000000000000000004400550000555555000000000000000000000000440055550055550000550055555555555500550000005555005555000055005555555555550055000000000000000000555500555555555500005555005500000000000055550055555555550000555500555500555500555555004444005555550055550055550055550055555500444400555555005555005555005555000055555555550055550000000000005500555500005555555555005555000000000000000000550055555555555500550000555500555500000055005555555555550055000055550055550044000000000000000000000000555555000055004400000000000000000000000055555500005500000000005555550055555555555555555500550000000000555555005555555555555555550055440044000055550000000000000000000000000044004400005555000000000000000000000000000000000044555500555500555500550055005555000000004455550055550055550055005500555500004400000000005555555555555555555555550000440000000000555555555555555555555555" +name: Just another map diff --git a/src/common/resources/dota/levels/level017.txt b/src/common/resources/dota/levels/level017.txt new file mode 100644 index 0000000..a7ed0e9 --- /dev/null +++ b/src/common/resources/dota/levels/level017.txt @@ -0,0 +1,3 @@ +points: [{x: 18, team: radiant, y: 26, direction: right, type: eagle, index: -1}, {x: 8, team: radiant, y: 26, direction: right, type: tank, index: 0}, {x: 12, team: radiant, y: 24, direction: right, type: tank, index: 1}, {x: 18, team: radiant, y: 20, direction: right, type: tank, index: 2}, {x: 24, team: radiant, y: 24, direction: right, type: tank, index: 3}, {x: 28, team: radiant, y: 26, direction: right, type: tank, index: 4}, {x: 20, team: dire, y: 2, direction: right, type: eagle, index: -1}, {x: 10, team: dire, y: 2, direction: left, type: tank, index: 0}, {x: 14, team: dire, y: 4, direction: left, type: tank, index: 1}, {x: 20, team: dire, y: 8, direction: left, type: tank, index: 2}, {x: 26, team: dire, y: 4, direction: left, type: tank, index: 3}, {x: 30, team: dire, y: 2, direction: left, type: tank, index: 4}] +data: "444400000000000044000000440000000000000044440000000000004400000044000000000000004444000000004400000000000000440000444400444400000000440000000000000044000044440044440033000000004400000044000000004444004444003300000000440000004400000000444400440000330000000000004400000000000000000044000033000000000000440000000000000000004400000000003300000000000000004400000033440000000000330000000000000000440000003344000000440000000000000000440000004400004400000044000000000000000044000000440000000044000000440033330000333300003333000000004400000044003333000033330000333300000000440000000000000000000000000000000000000044000000000000000000000000000000000000000000004400440000004400000000000044000000000000440044000000440000000000004400004400000000003333000033330000333300000000440000000000333300003333000033330000000000000000330000000000000000004400003300000000000033000000000000000000440000330000003300000000000044000000000000000000000000330000000000004400000000000000000000440033000000004400000044000000000044440044003300000000440000004400000000004444004400000000440000000000000044000000444400440000000044000000000000004400000044440044000000000000440000004400000000000000004400000000000044000000440000000000000000" +name: Main Battle diff --git a/src/common/resources/dota/levels/level018.txt b/src/common/resources/dota/levels/level018.txt new file mode 100644 index 0000000..59a826b --- /dev/null +++ b/src/common/resources/dota/levels/level018.txt @@ -0,0 +1,3 @@ +points: [{x: 18, team: radiant, y: 0, direction: right, type: eagle, index: -1}, {x: 6, team: radiant, y: 2, direction: right, type: tank, index: 0}, {x: 12, team: radiant, y: 6, direction: right, type: tank, index: 1}, {x: 18, team: radiant, y: 2, direction: right, type: tank, index: 2}, {x: 24, team: radiant, y: 6, direction: right, type: tank, index: 3}, {x: 30, team: radiant, y: 2, direction: right, type: tank, index: 4}, {x: 18, team: dire, y: 28, direction: right, type: eagle, index: -1}, {x: 6, team: dire, y: 26, direction: left, type: tank, index: 0}, {x: 12, team: dire, y: 22, direction: left, type: tank, index: 1}, {x: 18, team: dire, y: 26, direction: left, type: tank, index: 2}, {x: 24, team: dire, y: 22, direction: left, type: tank, index: 3}, {x: 30, team: dire, y: 26, direction: left, type: tank, index: 4}] +data: "000000445500000000000000000055440000004400000044550000000000000000005544000000444400000000000000000000000000000000004444440000000000000000000000000000000000444444440000004400000000000000440000004444444444000000440000000000000044000000444444444400000055000044444400005500000044444444440000005500004444440000550000004444444444004400000000000000000000004400444444444400440000000000000000000000440044444444440000000044000000000044000000004444444444000000004400000000004400000000444444444400445500000000000000000055440044444444440044550000000000000000005544004444444444000000000000445544000000000000444444444400000000000044554400000000000044444444440000554400000000000000445500004444444444000055440000000000000044550000444444444400000000000000000000000000000044444444440000000000000000000000000000004444444444004400000000000000000000004400444444444400440000000000000000000000440044444444440000005500004444440000550000004444444444000000550000444444000055000000444444444400000044000000000000004400000044444444440000004400000000000000440000004444444400000000000000000000000000000000004444440000000000000000000000000000000000444400000044550000000000000000005544000000440000004455000000000000000000554400000044" +name: Up and Down diff --git a/src/common/resources/dota/levels/level019.txt b/src/common/resources/dota/levels/level019.txt new file mode 100644 index 0000000..0e663b0 --- /dev/null +++ b/src/common/resources/dota/levels/level019.txt @@ -0,0 +1,3 @@ +points: [{x: 4, team: radiant, y: 14, direction: right, type: eagle, index: -1}, {x: 16, team: radiant, y: 2, direction: right, type: tank, index: 0}, {x: 4, team: radiant, y: 4, direction: right, type: tank, index: 1}, {x: 8, team: radiant, y: 14, direction: right, type: tank, index: 2}, {x: 4, team: radiant, y: 24, direction: right, type: tank, index: 3}, {x: 16, team: radiant, y: 26, direction: right, type: tank, index: 4}, {x: 34, team: dire, y: 14, direction: right, type: eagle, index: -1}, {x: 22, team: dire, y: 2, direction: left, type: tank, index: 0}, {x: 34, team: dire, y: 4, direction: left, type: tank, index: 1}, {x: 30, team: dire, y: 14, direction: left, type: tank, index: 2}, {x: 34, team: dire, y: 24, direction: left, type: tank, index: 3}, {x: 22, team: dire, y: 26, direction: left, type: tank, index: 4}] +data: "444444444444444444444444444444444444444444444444444444444444444444444444444444444444000000444400004444000044440000004444444400000044440000444400004444000000444400000044004444004444444400444400440000000000004400444400444444440044440044000000004444440000000044555544000000004444440000444444000000004455554400000000444444000000444444440000444444440000444444440000000044444444000044444444000044444444000044000000004400000000000000004400000000444400000000440000000000000000440000000044440044440044440000000000004444004444004444004444004444000000000000444400444400444400004400000000004444000000000044000044440000440000000000444400000000004400004444004444004444000000000000444400444400444400444400444400000000000044440044440044440000000044000000000000000044000000004444000000004400000000000000004400000000440000444444440000444444440000444444440000000044444444000044444444000044444444000000444444000000004455554400000000444444000044444400000000445555440000000044444400000000440044440044444444004444004400000000000044004444004444444400444400440000004444000000444400004444000044440000004444444400000044440000444400004444000000444444444444444444444444444444444444444444444444444444444444444444444444444444444444" +name: Never give up diff --git a/src/common/resources/dota/levels/level020.txt b/src/common/resources/dota/levels/level020.txt new file mode 100644 index 0000000..babc153 --- /dev/null +++ b/src/common/resources/dota/levels/level020.txt @@ -0,0 +1,3 @@ +points: [{x: 16, team: radiant, y: 14, direction: right, type: eagle, index: -1}, {x: 16, team: radiant, y: 2, direction: right, type: tank, index: 0}, {x: 6, team: radiant, y: 12, direction: right, type: tank, index: 1}, {x: 4, team: radiant, y: 14, direction: right, type: tank, index: 2}, {x: 6, team: radiant, y: 16, direction: right, type: tank, index: 3}, {x: 16, team: radiant, y: 26, direction: right, type: tank, index: 4}, {x: 20, team: dire, y: 14, direction: right, type: eagle, index: -1}, {x: 20, team: dire, y: 2, direction: left, type: tank, index: 0}, {x: 30, team: dire, y: 12, direction: left, type: tank, index: 1}, {x: 32, team: dire, y: 14, direction: left, type: tank, index: 2}, {x: 31, team: dire, y: 16, direction: left, type: tank, index: 3}, {x: 20, team: dire, y: 26, direction: left, type: tank, index: 4}] +data: "444444444444440000000000444444444444444444444444444444000000000044444444444444444444444444000000004400000000444444444444444444444400000000440000000044444444444444444444000000004444440000000044444444444444444400000000444444000000004444444444444444000000000000000000000000004444444444444400000000000000000000000000444444444444440000000000000000000000000044444444444444000000000000000000000000004444444444440000000000004444440000000000004444444444000000000000444444000000000000444444444400004400004444444444000044000044444444440000440000444444444400004400004444444444004444000000004400000000444400444444444400444400000000440000000044440044444444440000440000444444444400004400004444444444000044000044444444440000440000444444444400000000000044444400000000000044444444440000000000004444440000000000004444444444440000000000000000000000000044444444444444000000000000000000000000004444444444444400000000000000000000000000444444444444440000000000000000000000000044444444444444440000000044444400000000444444444444444444000000004444440000000044444444444444444444000000004400000000444444444444444444444400000000440000000044444444444444444444444444000000000044444444444444444444444444444400000000004444444444444444" +name: Be patient diff --git a/src/common/resources/dota/levels/_level003.txt b/src/common/resources/dota/levels/level021.txt similarity index 100% rename from src/common/resources/dota/levels/_level003.txt rename to src/common/resources/dota/levels/level021.txt diff --git a/src/common/resources/dota/levels/_level004.txt b/src/common/resources/dota/levels/level022.txt similarity index 100% rename from src/common/resources/dota/levels/_level004.txt rename to src/common/resources/dota/levels/level022.txt