tianta/project/floors/PIANTOU3.js
2022-10-23 22:53:02 +13:00

542 lines
14 KiB
JavaScript

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": {
"1,0": [
{
"type": "move",
"loc": [
7,
9
],
"time": 500,
"keep": true,
"steps": [
"up",
"up",
"up"
]
},
{
"type": "changePos",
"loc": [
7,
9
],
"direction": "up"
},
{
"type": "jumpHero",
"loc": [
7,
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": [
9,
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": [
5,
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": [
9,
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": [
9,
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": [
10,
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": [
8,
6
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
5,
5
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
9,
9
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
2,
2
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
3,
9
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
13,
7
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
2,
4
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
10,
10
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
5,
7
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
3,
4
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
10,
1
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
5,
12
]
},
{
"type": "animate",
"name": "jiaochajian",
"loc": [
4,
7
]
},
{
"type": "animate",
"name": "wangyangtiaohui",
"loc": [
7,
5
]
},
{
"type": "setBlock",
"number": 301,
"loc": [
7,
5
]
},
{
"type": "animate",
"name": "shaohutiaohuishang",
"loc": [
7,
7
]
},
{
"type": "changePos",
"loc": [
7,
7
],
"direction": "up"
},
{
"type": "sleep",
"time": 1000
},
{
"type": "moveHero",
"time": 500,
"steps": [
"up"
]
},
{
"type": "animate",
"name": "hainazhijian",
"loc": [
7,
6
]
},
{
"type": "animate",
"name": "youpenxue",
"loc": [
7,
5
]
},
{
"type": "playSound",
"name": "penxue.mp3"
},
{
"type": "setCurtain",
"keep": true,
"color": [
255,
0,
0,
1
],
"time": 500
},
{
"type": "hide",
"loc": [
[
7,
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": [
7,
8
],
"time": 0
},
{
"type": "trigger",
"loc": [
1,
0
]
}
]
},
"changeFloor": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"map": [
[ 0,345,350,350,350,350,350,350,350,350,350,350,350,351, 0],
[ 0,348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 2, 0, 0, 0, 4, 0, 0, 0, 2, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 2, 89, 2, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 0, 2, 0, 0, 0, 2, 0, 4, 4,352, 0],
[ 0,348, 4, 0, 2, 0, 0, 0, 0, 0, 2, 0, 4,352, 0],
[ 0,348, 4, 4, 4, 2, 0, 0, 0, 2, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 2, 0, 2, 4, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 0, 4, 4,301, 4, 4, 0, 4, 4,352, 0],
[ 0,348, 4, 4, 2, 0, 4, 2, 4, 0, 2, 4, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,352, 0],
[ 0,349,346,346,346,346,346,346,346,346,346,346,346,347, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"bgmap": [
],
"fgmap": [
],
"width": 15,
"height": 15,
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {}
}