mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Fix relative localization for assets
This commit is contained in:
parent
b5f6a8d22f
commit
91037a261e
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ VirtualMachine.prototype.createEmptyProject = function () {
|
||||||
var stage = new Sprite(blocks2, this.runtime);
|
var stage = new Sprite(blocks2, this.runtime);
|
||||||
stage.name = 'Stage';
|
stage.name = 'Stage';
|
||||||
stage.costumes.push({
|
stage.costumes.push({
|
||||||
skin: '/assets/stage.png',
|
skin: './assets/stage.png',
|
||||||
name: 'backdrop1',
|
name: 'backdrop1',
|
||||||
bitmapResolution: 2,
|
bitmapResolution: 2,
|
||||||
rotationCenterX: 480,
|
rotationCenterX: 480,
|
||||||
|
@ -154,7 +154,7 @@ VirtualMachine.prototype.createEmptyProject = function () {
|
||||||
var sprite = new Sprite(blocks1, this.runtime);
|
var sprite = new Sprite(blocks1, this.runtime);
|
||||||
sprite.name = 'Sprite1';
|
sprite.name = 'Sprite1';
|
||||||
sprite.costumes.push({
|
sprite.costumes.push({
|
||||||
skin: '/assets/scratch_cat.svg',
|
skin: './assets/scratch_cat.svg',
|
||||||
name: 'costume1',
|
name: 'costume1',
|
||||||
bitmapResolution: 1,
|
bitmapResolution: 1,
|
||||||
rotationCenterX: 47,
|
rotationCenterX: 47,
|
||||||
|
|
Loading…
Reference in a new issue