添加音频 (#317)

This commit is contained in:
notify 2024-02-05 11:07:54 +08:00 committed by GitHub
parent b2a438c200
commit 851a3873fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
20 changed files with 18 additions and 2 deletions

View File

@ -29,7 +29,7 @@ Rectangle {
} }
function loadSkills() { function loadSkills() {
for (let i = 1; i <= 16; i++) { for (let i = 1; i <= 23; i++) {
skills.append({ name: "fastchat_m", idx: i }); skills.append({ name: "fastchat_m", idx: i });
} }
} }

View File

@ -13,7 +13,7 @@ Rectangle {
} }
function loadSkills() { function loadSkills() {
for (let i = 1; i <= 16; i++) { for (let i = 1; i <= 23; i++) {
skills.append({ name: "fastchat_m", idx: i }); skills.append({ name: "fastchat_m", idx: i });
} }
} }

View File

@ -73,6 +73,7 @@ Item {
onIsStartedChanged: { onIsStartedChanged: {
if (isStarted) { if (isStarted) {
Backend.playSound("./audio/system/gamestart");
bgm.play(); bgm.play();
canKickOwner = false; canKickOwner = false;
kickOwnerTimer.stop(); kickOwnerTimer.stop();
@ -209,6 +210,7 @@ Item {
canKickOwner = false; canKickOwner = false;
kickOwnerTimer.stop(); kickOwnerTimer.stop();
} else { } else {
Backend.playSound("./audio/system/ready");
kickOwnerTimer.start(); kickOwnerTimer.start();
} }
} }

BIN
audio/system/gamestart.mp3 Normal file

Binary file not shown.

BIN
audio/system/ready.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -315,6 +315,13 @@ Fk:loadTranslationTable{
["$fastchat_m14"] = "哥们,给力点行吗?", ["$fastchat_m14"] = "哥们,给力点行吗?",
["$fastchat_m15"] = "哥哥,交个朋友吧。", ["$fastchat_m15"] = "哥哥,交个朋友吧。",
["$fastchat_m16"] = "妹子,交个朋友吧。", ["$fastchat_m16"] = "妹子,交个朋友吧。",
["$fastchat_m17"] = "我从未见过如此厚颜无耻之人!",
["$fastchat_m18"] = "你随便杀,闪不了算我输。",
["$fastchat_m19"] = "这波,不亏。",
["$fastchat_m20"] = "请收下我的膝盖。",
["$fastchat_m21"] = "你咋不上天呢?",
["$fastchat_m22"] = "放开我的队友,冲我来。",
["$fastchat_m23"] = "见证奇迹的时刻到了。",
["$fastchat_f1"] = "能不能快一点啊,兵贵神速啊。", ["$fastchat_f1"] = "能不能快一点啊,兵贵神速啊。",
["$fastchat_f2"] = "主公,别开枪,自己人!", ["$fastchat_f2"] = "主公,别开枪,自己人!",
["$fastchat_f3"] = "小内再不跳,后面还怎么玩啊?", ["$fastchat_f3"] = "小内再不跳,后面还怎么玩啊?",
@ -331,6 +338,13 @@ Fk:loadTranslationTable{
["$fastchat_f14"] = "哥们,给力点行吗?", ["$fastchat_f14"] = "哥们,给力点行吗?",
["$fastchat_f15"] = "哥,交个朋友吧。", ["$fastchat_f15"] = "哥,交个朋友吧。",
["$fastchat_f16"] = "妹子,交个朋友吧。", ["$fastchat_f16"] = "妹子,交个朋友吧。",
["$fastchat_f17"] = "我从未见过如此厚颜无耻之人!",
["$fastchat_f18"] = "你随便杀,闪不了算我输。",
["$fastchat_f19"] = "这波,不亏。",
["$fastchat_f20"] = "请收下我的膝盖。",
["$fastchat_f21"] = "你咋不上天呢?",
["$fastchat_f22"] = "放开我的队友,冲我来。",
["$fastchat_f23"] = "见证奇迹的时刻到了。",
["aaa_role_mode"] = "身份模式", ["aaa_role_mode"] = "身份模式",
[":aaa_role_mode"] = [========================================[ [":aaa_role_mode"] = [========================================[