diff --git a/packages/legacy-ui/src/use.ts b/packages/legacy-ui/src/use.ts index ff52ca7..1b53f4c 100644 --- a/packages/legacy-ui/src/use.ts +++ b/packages/legacy-ui/src/use.ts @@ -46,9 +46,7 @@ window.addEventListener('resize', () => { checkMobile(); sleep(2000).then(() => { - if (!isMobile) { - tip('info', `注意,不推荐使用浏览器的缩放功能,使用游戏内的缩放即可`); - } + tip('info', `2.B 暂不支持竖屏游玩,手机端请考虑横屏游玩`); }); function checkMobile() { diff --git a/public/_server/table/data.comment.js b/public/_server/table/data.comment.js index 202b620..b5e25d9 100644 --- a/public/_server/table/data.comment.js +++ b/public/_server/table/data.comment.js @@ -562,12 +562,6 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { }, "_data": "状态栏显示项" }, - "extendToolbar": { - "_leaf": true, - "_type": "checkbox", - "_docs": "横屏底部工具栏", - "_data": "在横屏状态下是否将工具栏挪动到游戏画布下方,从而完全解放状态栏空间" - }, "flyNearStair": { "_leaf": true, "_type": "checkbox", @@ -586,12 +580,6 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { "_docs": "首次道具进行提示", "_data": "首次获得道具是否提示" }, - "equipboxButton": { - "_leaf": true, - "_type": "checkbox", - "_docs": "状态栏装备按钮", - "_data": "状态栏的装备按钮。若此项为true则将状态栏中的楼层转换器按钮换为装备栏按钮" - }, "enableAddPoint": { "_leaf": true, "_type": "checkbox", @@ -610,30 +598,6 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { "_docs": "夹击不超伤害值", "_data": "夹击伤害是否不超过怪物伤害值。" }, - "useLoop": { - "_leaf": true, - "_type": "checkbox", - "_docs": "二分临界", - "_data": "是否循环计算临界;如果此项为true则使用循环法(而不是回合数计算法)来算临界\n从V2.5.3开始,对于大数据的循环法将改为使用二分法进行计算" - }, - "startUsingCanvas": { - "_leaf": true, - "_type": "checkbox", - "_docs": "标题开启事件化", - "_data": "是否开始菜单canvas化;如果此项为true,则将使用canvas来绘制开始菜单" - }, - "statusCanvas": { - "_leaf": true, - "_type": "checkbox", - "_docs": "开启自绘状态栏", - "_data": "是否状态栏canvas化,即手动自定义绘制状态栏。\n如果此项开启,则可在脚本编辑的drawStatusBar中自定义绘制菜单栏。" - }, - "enableEnemyPoint": { - "_leaf": true, - "_type": "checkbox", - "_docs": "定点怪显", - "_data": "是否开启怪物的定点显示功能,即属性不同的怪物会在怪物手册单列;用户可以手动在菜单栏中开关" - }, "enableGentleClick": { "_leaf": true, "_type": "checkbox", @@ -676,12 +640,6 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { "_docs": "虚化前景层", "_data": "是否虚化前景层;如果此项开启,则在游戏中事件层有东西(如宝石等)时虚化前景层。" }, - "autoScale": { - "_leaf": true, - "_type": "checkbox", - "_docs": "自动缩放最大化", - "_data": "是否自动缩放最大化,关闭后不再最大化" - }, } } } diff --git a/public/project/bgms/beforeBoss.opus b/public/project/bgms/beforeBoss.opus deleted file mode 100644 index 531c4cd..0000000 Binary files a/public/project/bgms/beforeBoss.opus and /dev/null differ diff --git a/public/project/bgms/beforeNight.opus b/public/project/bgms/beforeNight.opus deleted file mode 100644 index e277af4..0000000 Binary files a/public/project/bgms/beforeNight.opus and /dev/null differ diff --git a/public/project/bgms/bgm.opus b/public/project/bgms/bgm.opus new file mode 100644 index 0000000..52430e3 Binary files /dev/null and b/public/project/bgms/bgm.opus differ diff --git a/public/project/bgms/cave.opus b/public/project/bgms/cave.opus deleted file mode 100644 index 0910563..0000000 Binary files a/public/project/bgms/cave.opus and /dev/null differ diff --git a/public/project/bgms/chapter2ED.opus b/public/project/bgms/chapter2ED.opus deleted file mode 100644 index fba6aa1..0000000 Binary files a/public/project/bgms/chapter2ED.opus and /dev/null differ diff --git a/public/project/bgms/escape.opus b/public/project/bgms/escape.opus deleted file mode 100644 index 544413d..0000000 Binary files a/public/project/bgms/escape.opus and /dev/null differ diff --git a/public/project/bgms/escape2.opus b/public/project/bgms/escape2.opus deleted file mode 100644 index 3e2c0dc..0000000 Binary files a/public/project/bgms/escape2.opus and /dev/null differ diff --git a/public/project/bgms/grass.opus b/public/project/bgms/grass.opus deleted file mode 100644 index a2f20f3..0000000 Binary files a/public/project/bgms/grass.opus and /dev/null differ diff --git a/public/project/bgms/mount.opus b/public/project/bgms/mount.opus deleted file mode 100644 index 8e29152..0000000 Binary files a/public/project/bgms/mount.opus and /dev/null differ diff --git a/public/project/bgms/night.opus b/public/project/bgms/night.opus deleted file mode 100644 index eafb30b..0000000 Binary files a/public/project/bgms/night.opus and /dev/null differ diff --git a/public/project/bgms/palaceCenter.opus b/public/project/bgms/palaceCenter.opus deleted file mode 100644 index a110922..0000000 Binary files a/public/project/bgms/palaceCenter.opus and /dev/null differ diff --git a/public/project/bgms/palaceNorth.opus b/public/project/bgms/palaceNorth.opus deleted file mode 100644 index 75b9bc6..0000000 Binary files a/public/project/bgms/palaceNorth.opus and /dev/null differ diff --git a/public/project/bgms/palaceSouth.opus b/public/project/bgms/palaceSouth.opus deleted file mode 100644 index 5fd4817..0000000 Binary files a/public/project/bgms/palaceSouth.opus and /dev/null differ diff --git a/public/project/bgms/plot1.opus b/public/project/bgms/plot1.opus deleted file mode 100644 index ca10500..0000000 Binary files a/public/project/bgms/plot1.opus and /dev/null differ diff --git a/public/project/bgms/road.opus b/public/project/bgms/road.opus deleted file mode 100644 index b9971c6..0000000 Binary files a/public/project/bgms/road.opus and /dev/null differ diff --git a/public/project/bgms/title.opus b/public/project/bgms/title.opus deleted file mode 100644 index 8edb168..0000000 Binary files a/public/project/bgms/title.opus and /dev/null differ diff --git a/public/project/bgms/tower.opus b/public/project/bgms/tower.opus deleted file mode 100644 index ccb6221..0000000 Binary files a/public/project/bgms/tower.opus and /dev/null differ diff --git a/public/project/bgms/towerBoss.opus b/public/project/bgms/towerBoss.opus deleted file mode 100644 index 9fde0db..0000000 Binary files a/public/project/bgms/towerBoss.opus and /dev/null differ diff --git a/public/project/bgms/towerBoss2.opus b/public/project/bgms/towerBoss2.opus deleted file mode 100644 index 483586c..0000000 Binary files a/public/project/bgms/towerBoss2.opus and /dev/null differ diff --git a/public/project/bgms/towerBoss3.opus b/public/project/bgms/towerBoss3.opus deleted file mode 100644 index 31a273a..0000000 Binary files a/public/project/bgms/towerBoss3.opus and /dev/null differ diff --git a/public/project/bgms/winter.opus b/public/project/bgms/winter.opus deleted file mode 100644 index 7e8a13a..0000000 Binary files a/public/project/bgms/winter.opus and /dev/null differ diff --git a/public/project/bgms/winterTown.opus b/public/project/bgms/winterTown.opus deleted file mode 100644 index 9146a3c..0000000 Binary files a/public/project/bgms/winterTown.opus and /dev/null differ diff --git a/public/project/data.js b/public/project/data.js index 897866d..43a07a5 100644 --- a/public/project/data.js +++ b/public/project/data.js @@ -45,27 +45,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "zone" ], "bgms": [ - "beforeBoss.opus", - "beforeNight.opus", - "cave.opus", - "chapter2ED.opus", - "escape.opus", - "escape2.opus", - "grass.opus", - "mount.opus", - "night.opus", - "palaceCenter.opus", - "palaceNorth.opus", - "palaceSouth.opus", - "plot1.opus", - "road.opus", - "title.opus", - "tower.opus", - "towerBoss.opus", - "towerBoss2.opus", - "towerBoss3.opus", - "winter.opus", - "winterTown.opus" + "bgm.opus" ], "sounds": [ "008-System08.opus", @@ -208,7 +188,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "首饰", "首饰" ], - "startBgm": "title.opus", + "startBgm": "bgm.opus", "styles": { "floorChangingStyle": " ", "statusBarColor": [ @@ -241,7 +221,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "hero": { "image": "hero.png", "animate": false, - "name": "原始人", + "name": "阳光", "lv": 1, "hpmax": 0, "hp": 500, @@ -399,100 +379,12 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ], "startText": [ { - "type": "hideStatusBar" + "type": "text", + "text": "欢迎使用古祠制作的 2.B 样板,本样板主要针对渲染系统进行了重构,现在我们有了更加方便强大的渲染系统,也对部分相关事件进行了重置!" }, { - "type": "setText", - "position": "down", - "text": [ - 0, - 0, - 0, - 1 - ], - "background": "winskin.png", - "textfont": 20, - "time": 25, - "letterSpacing": 1 - }, - { - "type": "setGlobalAttribute", - "name": "font", - "value": "normal" - }, - { - "type": "playSound", - "name": "paper.opus" - }, - "人们说要铭记历史,但他们却忘记了历史。\n ——我是这样评价这个故事的。", - { - "type": "playSound", - "name": "paper.opus" - }, - "人类简史——起源篇", - { - "type": "playSound", - "name": "paper.opus" - }, - "在历史的长河中,山火、暴雨、地震不过是自然界的常态,是时间流逝中微不足道的涟漪。", - { - "type": "playSound", - "name": "paper.opus" - }, - "这些自然现象如同大地的呼吸,时而平静,时而狂暴。", - { - "type": "playSound", - "name": "paper.opus" - }, - "对于动物和植物而言,这些变化是生存的考验,是自然选择的无情法则。", - { - "type": "playSound", - "name": "paper.opus" - }, - "每一次山火,都意味着森林的重生与毁灭;每一场暴雨,都带来了生命的滋润与洪水的威胁;每一次地震,都改变了地貌,塑造了新的环境。", - { - "type": "playSound", - "name": "paper.opus" - }, - "在这片土地上,生命在自然的力量中挣扎、适应、繁衍。", - { - "type": "playSound", - "name": "paper.opus" - }, - "那些无法适应的,最终被淘汰;而那些幸存者,则继续在这片土地上书写着生命的传奇。", - { - "type": "playSound", - "name": "paper.opus" - }, - "然而,对于那些在这片土地上生存的原始人而言,这些自然现象不仅仅是生存的考验,更是他们日常生活中不可或缺的一部分。", - { - "type": "playSound", - "name": "paper.opus" - }, - "在公元前8000年,这里曾有一个不起眼的山洞,隐匿于群山之间,仿佛与世隔绝。山洞中,原始人正忙碌着,准备迎接即将到来的季节变化。", - { - "type": "playSound", - "name": "paper.opus" - }, - { - "type": "sleep", - "time": 1000 - }, - { - "type": "setText", - "position": "down", - "text": [ - 255, - 255, - 255, - 1 - ], - "background": "winskin.png", - "textfont": 20, - "time": 25 - }, - { - "type": "showStatusBar" + "type": "text", + "text": "这里是开场剧情,可以在编辑器全塔属性中修改,试着修改一下吧!" } ], "shops": [ @@ -645,7 +537,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "counterAttack": 0.1, "purify": 3, "hatred": 2, - "animateSpeed": 277.7778, + "animateSpeed": 400, "statusCanvasRowsOnMobile": 3, "floorChangeTime": 200, "moveSpeed": null @@ -662,27 +554,16 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ], "flyNearStair": false, "flyRecordPosition": true, - "steelDoorWithoutKey": true, "itemFirstText": false, - "equipboxButton": false, "enableAddPoint": false, - "enableNegativeDamage": true, - "betweenAttackMax": false, - "useLoop": true, - "startUsingCanvas": false, - "statusCanvas": true, - "displayEnemyDamage": true, - "displayCritical": true, - "displayExtraDamage": true, + "enableNegativeDamage": false, + "betweenAttackMax": true, "enableGentleClick": true, "ignoreChangeFloor": true, "canGoDeadZone": false, "enableMoveDirectly": true, "enableRouteFolding": true, "disableShopOnDamage": false, - "blurFg": true, - "extendToolbar": false, - "enableEnemyPoint": null, - "autoScale": true + "blurFg": true } } \ No newline at end of file diff --git a/public/project/enemys.js b/public/project/enemys.js index ab86d5b..9fc918d 100644 --- a/public/project/enemys.js +++ b/public/project/enemys.js @@ -77,7 +77,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "keiskeiFairy": {"name":"铃兰花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "tulipFairy": {"name":"郁金香花妖","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "purpleBowman": {"name":"高级弓兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "bearDown": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"bigImage":"bear.png"}, + "bearDown": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"bigImage":null}, "bearLeft": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}}, "bearRight": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}}, "bearUp": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"}} diff --git a/src/types/source/data.d.ts b/src/types/source/data.d.ts index 41e4c78..f5a534d 100644 --- a/src/types/source/data.d.ts +++ b/src/types/source/data.d.ts @@ -81,27 +81,7 @@ type SoundIds = | 'zone.opus' type BgmIds = - | 'beforeBoss.opus' - | 'beforeNight.opus' - | 'cave.opus' - | 'chapter2ED.opus' - | 'escape.opus' - | 'escape2.opus' - | 'grass.opus' - | 'mount.opus' - | 'night.opus' - | 'palaceCenter.opus' - | 'palaceNorth.opus' - | 'palaceSouth.opus' - | 'plot1.opus' - | 'road.opus' - | 'title.opus' - | 'tower.opus' - | 'towerBoss.opus' - | 'towerBoss2.opus' - | 'towerBoss3.opus' - | 'winter.opus' - | 'winterTown.opus' + | 'bgm.opus' type FontIds = never