[common] add dota levels

This commit is contained in:
2019-03-28 10:28:33 +03:00
parent 1ea216fd20
commit a86c4fc447
11 changed files with 19 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ module.exports.default = gulp.series(
module.exports['editor:flash:build'], module.exports['editor:flash:build'],
module.exports['editor:flash:html'], module.exports['editor:flash:html'],
module.exports['client:html5:build'], module.exports['editor:html5:build'],
//module.exports['server:neko:build'], //module.exports['server:neko:build'],
); );

View File

@@ -17,7 +17,7 @@ views:
$type: haxework.view.DataView $type: haxework.view.DataView
layout: layout:
$type: haxework.view.layout.TailLayout $type: haxework.view.layout.TailLayout
rowSize: 5 rowSize: 10
margin: 5 margin: 5
factory: $this:levelViewFactory factory: $this:levelViewFactory
+onDataSelect: $code:function(value) level = value +onDataSelect: $code:function(value) level = value

View File

@@ -17,7 +17,7 @@ views:
$type: haxework.view.DataView $type: haxework.view.DataView
layout: layout:
$type: haxework.view.layout.TailLayout $type: haxework.view.layout.TailLayout
rowSize: 5 rowSize: 10
margin: 5 margin: 5
factory: $this:levelViewFactory factory: $this:levelViewFactory
+onDataSelect: $code:function(value) level = value +onDataSelect: $code:function(value) level = value

View File

@@ -1,5 +1,5 @@
game: game:
levels: 16 levels: 23
friendlyFire: true friendlyFire: true
complete: [] complete: []

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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