diff --git a/Tests/demoscene/ballmover.js b/Tests/demoscene/ballmover.js index e45c4c6d..689f60bb 100644 --- a/Tests/demoscene/ballmover.js +++ b/Tests/demoscene/ballmover.js @@ -3,7 +3,7 @@ (function () { var game = new Phaser.Game(this, 'demo1', 320, 200, init, create, update); function init() { - game.load.image('balls', '../assets/sprites/balls.png'); + game.load.image('balls', 'assets/sprites/balls.png'); game.load.start(); } var scroller; diff --git a/Tests/demoscene/ballmover.ts b/Tests/demoscene/ballmover.ts index d1775dae..d210f244 100644 --- a/Tests/demoscene/ballmover.ts +++ b/Tests/demoscene/ballmover.ts @@ -7,7 +7,7 @@ function init() { - game.load.image('balls', '../assets/sprites/balls.png'); + game.load.image('balls', 'assets/sprites/balls.png'); game.load.start(); } diff --git a/Tests/demoscene/colorwhirl.js b/Tests/demoscene/colorwhirl.js index 51595fdd..520b412b 100644 --- a/Tests/demoscene/colorwhirl.js +++ b/Tests/demoscene/colorwhirl.js @@ -3,7 +3,7 @@ var game = new Phaser.Game(this, 'game', 320, 200, init, create); function init() { // Using Phasers asset loader we load up a PNG from the assets folder - game.load.image('swirl', '../assets/pics/color_wheel_swirl.png'); + game.load.image('swirl', 'assets/pics/color_wheel_swirl.png'); game.load.start(); } var swirl;