diff --git a/index.html b/index.html index e66c035..fda0e65 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,6 @@ CMPM176 Project 2 - - diff --git a/package.json b/package.json index bee2093..ea8019a 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ }, "dependencies": { "crisp-game-lib": "^1.2.0", - "gif-capture-canvas": "^1.1.0", "pixi-filters": "^6.0.5", "pixi.js": "^8.5.2", "sounds-some-sounds": "^3.1.0" diff --git a/src/main.ts b/src/main.ts index 3317dc5..f93bd53 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,8 +1,9 @@ // setup code, you can skip this +import * as sss from 'sounds-some-sounds'; +(window as any).sss = sss; import 'pixi.js'; import 'pixi-filters'; import 'crisp-game-lib'; -declare function onLoad(): void; type State = "title" | "inGame" | "goToNextHole" | "giveUp" | "holeOut"; type Ground = { type: string; height?: number; };