教学demo
This commit is contained in:
parent
98b10980cd
commit
00876fa43f
@ -128,6 +128,12 @@ var plugins_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"_type": "textarea",
|
"_type": "textarea",
|
||||||
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||||
"_data": "背景音乐拼接"
|
"_data": "背景音乐拼接"
|
||||||
|
},
|
||||||
|
"scrollingText": {
|
||||||
|
"_leaf": true,
|
||||||
|
"_type": "textarea",
|
||||||
|
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||||
|
"_data": "接收&发送在线留言"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (obj[key]) return obj[key];
|
if (obj[key]) return obj[key];
|
||||||
|
@ -1520,7 +1520,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
},
|
},
|
||||||
"firstData": {
|
"firstData": {
|
||||||
"title": "秽翼的尤斯蒂娅",
|
"title": "秽翼的尤斯蒂娅",
|
||||||
"name": "Eustia",
|
"name": "Eustia_text",
|
||||||
"version": "鸽子窝造塔小队",
|
"version": "鸽子窝造塔小队",
|
||||||
"floorId": "jiaocheng01",
|
"floorId": "jiaocheng01",
|
||||||
"hero": {
|
"hero": {
|
||||||
@ -1935,7 +1935,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "function",
|
"type": "function",
|
||||||
"function": "function(){\ncore.getItem('book', 1);\ncore.getItem('fly', 1);\n}"
|
"function": "function(){\ncore.getItem('book', 1);\ncore.getItem('fly', 1);\ncore.getItem('postman', 1);\ncore.getItem('I369', 1);\n}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "insert",
|
"type": "insert",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
main.floors.jiaocheng01=
|
main.floors.jiaocheng01=
|
||||||
{
|
{
|
||||||
"floorId": "jiaocheng01",
|
"floorId": "jiaocheng01",
|
||||||
"title": "广场",
|
"title": "教程1",
|
||||||
"name": "1",
|
"name": "1",
|
||||||
"width": 13,
|
"width": 13,
|
||||||
"height": 13,
|
"height": 13,
|
||||||
@ -70,7 +70,7 @@ main.floors.jiaocheng01=
|
|||||||
[129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,129],
|
[129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,129],
|
||||||
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1]
|
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1]
|
||||||
],
|
],
|
||||||
"areas": "牢狱",
|
"areas": "教程",
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
main.floors.jiaocheng02=
|
main.floors.jiaocheng02=
|
||||||
{
|
{
|
||||||
"floorId": "jiaocheng02",
|
"floorId": "jiaocheng02",
|
||||||
"title": "广场",
|
"title": "教程2",
|
||||||
"name": "1",
|
"name": "1",
|
||||||
"width": 13,
|
"width": 13,
|
||||||
"height": 13,
|
"height": 13,
|
||||||
@ -82,7 +82,7 @@ main.floors.jiaocheng02=
|
|||||||
[ 28, 1, 30, 1, 27,129, 0,204, 0, 33, 0, 23, 0],
|
[ 28, 1, 30, 1, 27,129, 0,204, 0, 33, 0, 23, 0],
|
||||||
[ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1]
|
[ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1]
|
||||||
],
|
],
|
||||||
"areas": "牢狱",
|
"areas": "教程",
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -192,6 +192,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
core.plugin.bfs();
|
core.plugin.bfs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!core.isReplaying()) core.plugin.drawCommentSign()
|
||||||
},
|
},
|
||||||
"flyTo": function (toId, callback) {
|
"flyTo": function (toId, callback) {
|
||||||
// 楼层传送器的使用,从当前楼层飞往toId
|
// 楼层传送器的使用,从当前楼层飞往toId
|
||||||
@ -2022,6 +2023,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
nowy = core.getHeroLoc("y");
|
nowy = core.getHeroLoc("y");
|
||||||
var block = core.getBlock(nowx, nowy);
|
var block = core.getBlock(nowx, nowy);
|
||||||
var hasTrigger = false;
|
var hasTrigger = false;
|
||||||
|
core.showComment(nowx, nowy)
|
||||||
if (
|
if (
|
||||||
block != null &&
|
block != null &&
|
||||||
block.event.trigger == "getItem" &&
|
block.event.trigger == "getItem" &&
|
||||||
@ -2061,7 +2063,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
core.status.hero.statistics.poisonDamage += damage;
|
core.status.hero.statistics.poisonDamage += damage;
|
||||||
core.status.hero.hp -= damage;
|
core.status.hero.hp -= damage;
|
||||||
}
|
}
|
||||||
|
core.showComment(nowx, nowy)
|
||||||
core.clearMap("hero");
|
core.clearMap("hero");
|
||||||
if (
|
if (
|
||||||
core.bigmap.width * 32 === core.bigmap.height * 32 &&
|
core.bigmap.width * 32 === core.bigmap.height * 32 &&
|
||||||
|
@ -326,7 +326,8 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
|
|||||||
"I373": 36,
|
"I373": 36,
|
||||||
"I374": 37,
|
"I374": 37,
|
||||||
"I375": 38,
|
"I375": 38,
|
||||||
"I396": 39
|
"I396": 39,
|
||||||
|
"postman": 62
|
||||||
},
|
},
|
||||||
"autotile": {
|
"autotile": {
|
||||||
"autotile": 0,
|
"autotile": 0,
|
||||||
|
@ -529,9 +529,31 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"canUseItemEffect": "true"
|
"canUseItemEffect": "true"
|
||||||
},
|
},
|
||||||
"I369": {
|
"I369": {
|
||||||
"cls": "items",
|
"cls": "constants",
|
||||||
"name": "新物品",
|
"name": "动画开关",
|
||||||
"canUseItemEffect": "true"
|
"canUseItemEffect": "true",
|
||||||
|
"hideInToolbox": true,
|
||||||
|
"hideInReplay": true,
|
||||||
|
"useItemEvent": [
|
||||||
|
{
|
||||||
|
"type": "confirm",
|
||||||
|
"text": "是否开启战斗动画",
|
||||||
|
"yes": [
|
||||||
|
{
|
||||||
|
"type": "setValue",
|
||||||
|
"name": "flag:noAnimate",
|
||||||
|
"value": "false"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"no": [
|
||||||
|
{
|
||||||
|
"type": "setValue",
|
||||||
|
"name": "flag:noAnimate",
|
||||||
|
"value": "true"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"I370": {
|
"I370": {
|
||||||
"cls": "items",
|
"cls": "items",
|
||||||
@ -576,5 +598,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"cls": "items",
|
"cls": "items",
|
||||||
"name": "新物品",
|
"name": "新物品",
|
||||||
"canUseItemEffect": "true"
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"postman": {
|
||||||
|
"cls": "constants",
|
||||||
|
"name": "言灵",
|
||||||
|
"canUseItemEffect": "true",
|
||||||
|
"text": "可以发送和接收在线留言。",
|
||||||
|
"hideInToolbox": true,
|
||||||
|
"hideInReplay": true
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -295,6 +295,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
|||||||
"394": {"cls":"terrains","id":"T394"},
|
"394": {"cls":"terrains","id":"T394"},
|
||||||
"395": {"cls":"terrains","id":"T395"},
|
"395": {"cls":"terrains","id":"T395"},
|
||||||
"396": {"cls":"items","id":"I396"},
|
"396": {"cls":"items","id":"I396"},
|
||||||
|
"397": {"cls":"items","id":"postman"},
|
||||||
"20034": {"cls":"tileset","id":"X20034","canPass":true},
|
"20034": {"cls":"tileset","id":"X20034","canPass":true},
|
||||||
"20154": {"cls":"tileset","id":"X20154","canPass":true},
|
"20154": {"cls":"tileset","id":"X20154","canPass":true},
|
||||||
"20216": {"cls":"tileset","id":"X20216","canPass":true},
|
"20216": {"cls":"tileset","id":"X20216","canPass":true},
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 22 KiB |
3575
project/plugins.js
3575
project/plugins.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user