教学demo

This commit is contained in:
草莓 2025-03-16 19:07:11 +08:00
parent 98b10980cd
commit 00876fa43f
10 changed files with 1951 additions and 1686 deletions

View File

@ -128,6 +128,12 @@ var plugins_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
"_type": "textarea",
"_range": "typeof(thiseval)=='string' || thiseval==null",
"_data": "背景音乐拼接"
},
"scrollingText": {
"_leaf": true,
"_type": "textarea",
"_range": "typeof(thiseval)=='string' || thiseval==null",
"_data": "接收&发送在线留言"
}
}
if (obj[key]) return obj[key];

View File

@ -1520,7 +1520,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
},
"firstData": {
"title": "秽翼的尤斯蒂娅",
"name": "Eustia",
"name": "Eustia_text",
"version": "鸽子窝造塔小队",
"floorId": "jiaocheng01",
"hero": {
@ -1935,7 +1935,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
},
{
"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",

View File

@ -1,7 +1,7 @@
main.floors.jiaocheng01=
{
"floorId": "jiaocheng01",
"title": "广场",
"title": "教程1",
"name": "1",
"width": 13,
"height": 13,
@ -70,7 +70,7 @@ main.floors.jiaocheng01=
[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]
],
"areas": "牢狱",
"areas": "教程",
"bgmap": [
],

View File

@ -1,7 +1,7 @@
main.floors.jiaocheng02=
{
"floorId": "jiaocheng02",
"title": "广场",
"title": "教程2",
"name": "1",
"width": 13,
"height": 13,
@ -82,7 +82,7 @@ main.floors.jiaocheng02=
[ 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]
],
"areas": "牢狱",
"areas": "教程",
"bgmap": [
],

View File

@ -192,6 +192,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.plugin.bfs();
}
}
if (!core.isReplaying()) core.plugin.drawCommentSign()
},
"flyTo": function (toId, callback) {
// 楼层传送器的使用从当前楼层飞往toId
@ -2022,6 +2023,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
nowy = core.getHeroLoc("y");
var block = core.getBlock(nowx, nowy);
var hasTrigger = false;
core.showComment(nowx, nowy)
if (
block != null &&
block.event.trigger == "getItem" &&
@ -2061,7 +2063,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.status.hero.statistics.poisonDamage += damage;
core.status.hero.hp -= damage;
}
core.showComment(nowx, nowy)
core.clearMap("hero");
if (
core.bigmap.width * 32 === core.bigmap.height * 32 &&

View File

@ -326,7 +326,8 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
"I373": 36,
"I374": 37,
"I375": 38,
"I396": 39
"I396": 39,
"postman": 62
},
"autotile": {
"autotile": 0,

View File

@ -529,9 +529,31 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"canUseItemEffect": "true"
},
"I369": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"cls": "constants",
"name": "动画开关",
"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": {
"cls": "items",
@ -576,5 +598,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"postman": {
"cls": "constants",
"name": "言灵",
"canUseItemEffect": "true",
"text": "可以发送和接收在线留言。",
"hideInToolbox": true,
"hideInReplay": true
}
}

View File

@ -295,6 +295,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
"394": {"cls":"terrains","id":"T394"},
"395": {"cls":"terrains","id":"T395"},
"396": {"cls":"items","id":"I396"},
"397": {"cls":"items","id":"postman"},
"20034": {"cls":"tileset","id":"X20034","canPass":true},
"20154": {"cls":"tileset","id":"X20154","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

File diff suppressed because it is too large Load Diff