-
+
-
BUBBLE GAME
-
- {{ gameMode }} -
-
-
-
-
-
HOLD
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ comboPrev }} Chain!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
SCORE:
-
MAX CHAIN:
-
-
-
{{ i18n.ts.replaying }}
-
-
-
-
-
-
- {{ i18n.ts.done }}
- {{ i18n.ts.showReplay }}
- {{ i18n.ts.share }}
- Copy replay data
-
-
-
-
-
-
-
SCORE: (MAX CHAIN: )
-
HIGH SCORE: -
-
-
-
-
-
-
-
- updateSettings('bgmVolume', v)">
- BGM {{ i18n.ts.volume }}
-
- updateSettings('sfxVolume', v)">
- {{ i18n.ts.sfx }} {{ i18n.ts.volume }}
-
-
-
-
-
-
Credit
-
-
Ai-chan illustration: @poteriri@misskey.io
-
BGM: @ys@misskey.design
-
-
-
-
-
-
- Surrender
- Retry
-
-
-
-
+
+
+
+
+
diff --git a/packages/frontend/src/scripts/drop-and-fusion-engine.ts b/packages/frontend/src/scripts/drop-and-fusion-engine.ts
index 342e81890..d64c6015a 100644
--- a/packages/frontend/src/scripts/drop-and-fusion-engine.ts
+++ b/packages/frontend/src/scripts/drop-and-fusion-engine.ts
@@ -33,6 +33,7 @@ type Log = {
operation: 'surrender';
};
+// TODO: インスタンスを作り直さなくてもゲームをリスタートできるようにする
export class DropAndFusionGame extends EventEmitter<{
changeScore: (newScore: number) => void;
changeCombo: (newCombo: number) => void;
@@ -307,7 +308,6 @@ export class DropAndFusionGame extends EventEmitter<{
async function loadSingleMonoTexture(mono: Mono, game: DropAndFusionGame) {
// Matter-js内にキャッシュがある場合はスキップ
if (game.render.textures[mono.img]) return;
- console.log('loading', mono.img);
let src = mono.img;
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition