Skip to content

Commit bc758f2

Browse files
authored
Update haxteroids.js
1 parent 08f9ce1 commit bc758f2

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/incl/haxteroids.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,11 +1506,11 @@ function init() {
15061506

15071507
// Audio
15081508
sounds = {
1509-
boom: new Audio("resources/boom.ogg"),
1510-
mono: new Audio("resources/mono.ogg"),
1511-
ship: new Audio("resources/ship.ogg"),
1512-
shot: new Audio("resources/shot.ogg"),
1513-
thrust: new Audio("resources/thrust.ogg")
1509+
boom: new Audio("res/boom.ogg"),
1510+
mono: new Audio("res/mono.ogg"),
1511+
ship: new Audio("res/ship.ogg"),
1512+
shot: new Audio("res/shot.ogg"),
1513+
thrust: new Audio("res/thrust.ogg")
15141514
};
15151515
sounds.mono.loop = true;
15161516
sounds.thrust.loop = true;
@@ -1530,14 +1530,14 @@ function init() {
15301530
menu20: new Image(),
15311531
menu21: new Image()
15321532
};
1533-
graphics.rock.src = "resources/rock.png";
1534-
graphics.ship.src = "resources/ship.png";
1535-
graphics.shipHot.src = "resources/shiphot.png";
1536-
graphics.shot.src = "resources/shot.png";
1537-
graphics.menu10.src = "resources/menu(1, 0).png";
1538-
graphics.menu11.src = "resources/menu(1, 1).png";
1539-
graphics.menu20.src = "resources/menu(2, 0).png";
1540-
graphics.menu21.src = "resources/menu(2, 1).png";
1533+
graphics.rock.src = "res/rock.png";
1534+
graphics.ship.src = "res/ship.png";
1535+
graphics.shipHot.src = "res/shiphot.png";
1536+
graphics.shot.src = "res/shot.png";
1537+
graphics.menu10.src = "res/menu(1, 0).png";
1538+
graphics.menu11.src = "res/menu(1, 1).png";
1539+
graphics.menu20.src = "res/menu(2, 0).png";
1540+
graphics.menu21.src = "res/menu(2, 1).png";
15411541

15421542
// DOM Variables
15431543
canvas = document.getElementById("haxteroids");

0 commit comments

Comments
 (0)