Skip to content

Commit

Permalink
Remove GIF capture because it's old and cringe
Browse files Browse the repository at this point in the history
  • Loading branch information
s5bug committed Nov 7, 2024
1 parent 6f91a8e commit c417074
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1, maximum-scale=1" />
<title>CMPM176 Project 2</title>
<script src="./node_modules/sounds-some-sounds/build/index.js"></script>
<script src="./node_modules/gif-capture-canvas/build/index.js"></script>
<script src="./src/main.ts" type="module"></script>
</head>
<body style="background: #ddd"></body>
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 0 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -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; };
Expand Down

0 comments on commit c417074

Please sign in to comment.