tianta/project/floors/PIANTOU3.js

538 lines
14 KiB
JavaScript
Raw Normal View History

2022-10-21 23:04:26 +08:00
main.floors.PIANTOU3=
{
"floorId": "PIANTOU3",
"title": "天塔第81层",
"name": "天塔第81层",
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [
{
"name": "xialouti.png",
"canvas": "bg",
"x": 6,
"y": 9
}
],
"item_ratio": 1,
"firstArrive": [],
"events": {
"0,0": [
{
"type": "move",
"loc": [
6,
9
],
"time": 500,
"keep": true,
"steps": [
"up",
"up",
"up"
]
},
{
"type": "changePos",
"loc": [
6,
9
],
"direction": "up"
},
{
"type": "jumpHero",
"loc": [
6,
5
],
"time": 1000
},
{
"type": "function",
"function": "function(){\ncore.drawAnimate(\"jian\",6,6)\n}"
},
{
"type": "changePos",
"direction": "left"
},
{
"type": "function",
"function": "function(){\nvar ex=8,ey=6,time=1000;\ncore.jumpHero(ex,ey,time);\n}"
},
{
"type": "jump",
"from": [
6,
6
],
"to": [
4,
6
],
"time": 1000,
"keep": true
},
{
"type": "sleep",
"time": 1000
},
{
"type": "function",
"function": "function(){\nsetTimeout(function() {\n core.drawAnimate(\"jiaochajian\",6,4);\n }, core.status.replay.replaying?20:500);\n}"
},
{
"type": "function",
"function": "function(){\nvar ex=4,ey=6,time=1000;\ncore.jumpHero(ex,ey,time);\n}"
},
{
"type": "jump",
"from": [
4,
6
],
"to": [
8,
6
],
"time": 1000,
"keep": true
},
{
"type": "changePos",
"direction": "right"
},
{
"type": "function",
"function": "function(){\nsetTimeout(function() {\n core.drawAnimate(\"jiaochajian\",6,4);\n }, core.status.replay.replaying?20:500);\n}"
},
{
"type": "jumpHero",
"loc": [
8,
6
],
"time": 1000,
"async": true
},
{
"type": "jump",
"from": [
8,
6
],
"to": [
4,
6
],
"time": 1000,
"keep": true
},
{
"type": "changePos",
"direction": "left"
},
{
"type": "function",
"function": "function(){\nsetTimeout(function() {\n core.drawAnimate(\"jiaochajian\",6,3);\n }, core.status.replay.replaying?20:500);\n}"
},
{
"type": "jumpHero",
"loc": [
4,
2
],
"time": 1000,
"async": true
},
{
"type": "jump",
"from": [
4,
6
],
"to": [
8,
2
],
"time": 1000,
"keep": true
},
{
"type": "changePos",
"direction": "right"
},
{
"type": "function",
"function": "function(){\ncore.drawAnimate(\"youcezhan\",7,2)\n}"
},
{
"type": "move",
"loc": [
8,
2
],
"time": 500,
"keep": true,
"steps": [
"right"
]
},
{
"type": "function",
"function": "function(){\ncore.drawAnimate(\"zuocezhan\",5,2)\n}"
},
{
"type": "setHeroIcon",
"name": "fanxiang2.png"
},
{
"type": "moveHero",
"time": 500,
"steps": [
"left"
]
},
{
"type": "setHeroIcon",
"name": "hero.png"
},
{
"type": "changePos",
"direction": "right"
},
{
"type": "function",
"function": "function(){\nsetTimeout(function() {\n core.drawAnimate(\"jiaochajian\",6,2);\n }, core.status.replay.replaying?20:700);\n}"
},
{
"type": "jumpHero",
"loc": [
8,
10
],
"time": 1000,
"async": true
},
{
"type": "jump",
"from": [
9,
2
],
"to": [
4,
10
],
"time": 1000,
"keep": true
},
{
"type": "changePos",
"direction": "left"
},
{
"type": "function",
"function": "function(){\ncore.drawAnimate(\"youcezhan\",7,10)\n}"
},
{
"type": "jumpHero",
"loc": [
9,
9
],
"time": 500
},
{
"type": "function",
"function": "function(){\ncore.drawAnimate(\"zuocezhan\",5,10)\n}"
},
{
"type": "jump",
"from": [
4,
10
],
"to": [
3,
9
],
"time": 1000,
"keep": true
},
{
"type": "function",
"function": "function(){\nvar ex=5,ey=-1,time=1000;\ncore.jumpHero(ex,ey,time);\n}"
},
{
"type": "jump",
"from": [
3,
9
],
"to": [
7,
-1
],
"time": 1000,
"keep": true
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
7,
6
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
4,
5
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
8,
9
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
1,
2
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
2,
9
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
12,
7
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
1,
4
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
9,
10
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
4,
7
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
2,
4
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
9,
1
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
4,
12
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
3,
7
]
},
{
"type": "animate",
"name": "wangyangtiaohui",
"loc": [
6,
5
]
},
{
"type": "setBlock",
"number": 301,
"loc": [
6,
5
]
},
{
"type": "animate",
"name": "shaohutiaohuishang",
"loc": [
6,
7
]
},
{
"type": "changePos",
"loc": [
6,
7
],
"direction": "up"
},
{
"type": "sleep",
"time": 1000
},
{
"type": "moveHero",
"time": 500,
"steps": [
"up"
]
},
{
"type": "animate",
"name": "hainazhijian",
"loc": [
6,
6
]
},
{
"type": "animate",
"name": "youpenxue",
"loc": [
6,
5
]
},
{
"type": "playSound",
"name": "penxue.mp3"
},
{
"type": "setCurtain",
"keep": true,
"color": [
255,
0,
0,
1
],
"time": 500
},
{
"type": "hide",
"loc": [
[
6,
5
]
],
"time": 0
},
{
"type": "setCurtain",
"keep": true,
"time": 500
},
{
"type": "sleep",
"time": 2000
},
{
"type": "animate",
"name": "shenglvehao",
"loc": "hero"
},
{
"type": "moveHero",
"time": 2000,
"steps": [
"up",
"up"
]
},
{
"type": "changeFloor",
"floorId": "PIANTOU4",
"loc": [
6,
8
],
"time": 0
},
{
"type": "trigger",
"loc": [
0,
0
]
}
]
},
"changeFloor": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"map": [
[345,350,350,350,350,350,350,350,350,350,350,350,351],
[348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352],
[348, 4, 2, 0, 0, 0, 4, 0, 0, 0, 2, 4,352],
[348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352],
[348, 4, 4, 4, 4, 2, 89, 2, 4, 4, 4, 4,352],
[348, 4, 4, 0, 2, 0, 0, 0, 2, 0, 4, 4,352],
[348, 4, 0, 2, 0, 0, 0, 0, 0, 2, 0, 4,352],
[348, 4, 4, 4, 2, 0, 0, 0, 2, 4, 4, 4,352],
[348, 4, 4, 4, 4, 2, 0, 2, 4, 4, 4, 4,352],
[348, 4, 4, 0, 4, 4,301, 4, 4, 0, 4, 4,352],
[348, 4, 4, 2, 0, 4, 2, 4, 0, 2, 4, 4,352],
[348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352],
[349,346,346,346,346,346,346,346,346,346,346,346,347]
],
"bgmap": [
],
"fgmap": [
],
"width": 13,
"height": 13,
"autoEvent": {}
}