增添新事件至事件列表

This commit is contained in:
草莓 2024-12-05 19:14:19 +08:00
parent abb295ab87
commit 4dd2fbb1b3
3 changed files with 4 additions and 31 deletions

View File

@ -105,7 +105,6 @@ editor_blocklyconfig=(function(){
MotaActionBlocks['autoText_s'].xmlText(), MotaActionBlocks['autoText_s'].xmlText(),
MotaActionBlocks['scrollText_s'].xmlText(), MotaActionBlocks['scrollText_s'].xmlText(),
MotaActionBlocks['setText_s'].xmlText(), MotaActionBlocks['setText_s'].xmlText(),
MotaActionBlocks['addPop_s'].xmlText(),
MotaActionBlocks['tip_s'].xmlText(), MotaActionBlocks['tip_s'].xmlText(),
MotaActionBlocks['confirm_s'].xmlText(), MotaActionBlocks['confirm_s'].xmlText(),
MotaActionBlocks['choices_s'].xmlText([ MotaActionBlocks['choices_s'].xmlText([
@ -198,8 +197,6 @@ editor_blocklyconfig=(function(){
]}), ]}),
MotaActionBlocks['waitAsync_s'].xmlText(), MotaActionBlocks['waitAsync_s'].xmlText(),
MotaActionBlocks['stopAsync_s'].xmlText(), MotaActionBlocks['stopAsync_s'].xmlText(),
MotaActionBlocks['changeMouse_s'].xmlText(),
MotaActionBlocks['removeMouse_s'].xmlText(),
MotaActionBlocks['vibrate_s'].xmlText(), MotaActionBlocks['vibrate_s'].xmlText(),
MotaActionBlocks['animate_s'].xmlText(), MotaActionBlocks['animate_s'].xmlText(),
MotaActionBlocks['animate_1_s'].xmlText(), MotaActionBlocks['animate_1_s'].xmlText(),

View File

@ -18,34 +18,7 @@ main.floors.jiuguan=
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": { "events": {},
"4,6": [
{
"type": "addPop",
"value": "这段话将在游戏中以弹幕显示",
"px": 32,
"py": 32,
"color": [
255,
0,
0,
1
],
"boldColor": [
0,
0,
0,
1
],
"left": false,
"jump": false,
"time": 60,
"show": 30,
"font": "16px Verdana",
"speed": 1
}
]
},
"changeFloor": {}, "changeFloor": {},
"beforeBattle": {}, "beforeBattle": {},
"afterBattle": {}, "afterBattle": {},

View File

@ -7108,6 +7108,7 @@ core.plugin.animate = {
MotaActionBlocks['scrollText_s'].xmlText(), MotaActionBlocks['scrollText_s'].xmlText(),
MotaActionBlocks['setText_s'].xmlText(), MotaActionBlocks['setText_s'].xmlText(),
MotaActionBlocks['tip_s'].xmlText(), MotaActionBlocks['tip_s'].xmlText(),
MotaActionBlocks['addPop_s'].xmlText(),
MotaActionBlocks['confirm_s'].xmlText(), MotaActionBlocks['confirm_s'].xmlText(),
MotaActionBlocks['choices_s'].xmlText([ MotaActionBlocks['choices_s'].xmlText([
'选择剑或者盾', '流浪者', 'man', 0, '', MotaActionBlocks['choicesContext'].xmlText([ '选择剑或者盾', '流浪者', 'man', 0, '', MotaActionBlocks['choicesContext'].xmlText([
@ -7207,6 +7208,8 @@ core.plugin.animate = {
}), }),
MotaActionBlocks['waitAsync_s'].xmlText(), MotaActionBlocks['waitAsync_s'].xmlText(),
MotaActionBlocks['stopAsync_s'].xmlText(), MotaActionBlocks['stopAsync_s'].xmlText(),
MotaActionBlocks['changeMouse_s'].xmlText(),
MotaActionBlocks['removeMouse_s'].xmlText(),
MotaActionBlocks['vibrate_s'].xmlText(), MotaActionBlocks['vibrate_s'].xmlText(),
MotaActionBlocks['animate_s'].xmlText(), MotaActionBlocks['animate_s'].xmlText(),
MotaActionBlocks['animate_1_s'].xmlText(), MotaActionBlocks['animate_1_s'].xmlText(),