diff --git a/src/index.js b/src/index.js index f608932c8..fa392ff69 100644 --- a/src/index.js +++ b/src/index.js @@ -135,7 +135,7 @@ VirtualMachine.prototype.createEmptyProject = function () { var stage = new Sprite(blocks2, this.runtime); stage.name = 'Stage'; stage.costumes.push({ - skin: '/assets/stage.png', + skin: './assets/stage.png', name: 'backdrop1', bitmapResolution: 2, rotationCenterX: 480, @@ -154,7 +154,7 @@ VirtualMachine.prototype.createEmptyProject = function () { var sprite = new Sprite(blocks1, this.runtime); sprite.name = 'Sprite1'; sprite.costumes.push({ - skin: '/assets/scratch_cat.svg', + skin: './assets/scratch_cat.svg', name: 'costume1', bitmapResolution: 1, rotationCenterX: 47,