Skip to content

Commit

Permalink
update name and remove audio reference
Browse files Browse the repository at this point in the history
  • Loading branch information
TruLie13 committed Oct 1, 2024
1 parent a0b32cc commit ca39f7b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@ import Phaser from "phaser";
import GameScene from "./GameScene";

function App() {
let audioContext;

function startAudio() {
// Create or resume the AudioContext on user gesture
if (audioContext && audioContext.state === "suspended") {
audioContext.resume();
} else {
audioContext = new (window.AudioContext || window.webkitAudioContext)();
// Additional setup can go here
}
}

useEffect(() => {
const config = {
type: Phaser.AUTO,
Expand All @@ -40,7 +28,7 @@ function App() {

return (
<div className="App">
<h1>Practice Game</h1>
<h1>Star Grabber</h1>
<div id="phaser-game" />
</div>
);
Expand Down

0 comments on commit ca39f7b

Please sign in to comment.