Commit d45df75d authored by 18손재민's avatar 18손재민 Committed by 18류지석

새 이미지 적용

parent 678011ac
......@@ -14,7 +14,7 @@ ResourceLoader.loadImage = function(scene)
{
for (let j = 2; j < 7; j++)
{
scene.load.image(('wordBgr' + i + '_' + j), ('assets/placeholder/'+i + '_' + j + '.png'));
scene.load.image(('wordBgr' + i + '_' + j), ('assets/image/word/'+i + '_' + j + '.png'));
}
}
for (let i = 0; i < 4; i++)
......@@ -27,8 +27,8 @@ ResourceLoader.loadImage = function(scene)
}
for (let i = 2; i < 7; i++)
{
scene.load.image('nameBgr' + i, 'assets/placeholder/name' + i + '.png');
scene.load.image('strongBgr' + i, 'assets/placeholder/strong' + i + '.png');
scene.load.image('nameBgr' + i, 'assets/image/word/name' + i + '.png');
scene.load.image('strongBgr' + i, 'assets/image/word/strong' + i + '.png');
}
scene.load.spritesheet('wordBreak', 'assets/image/word/wordbreak.png', { frameWidth: 180, frameHeight: 180 });
......
......@@ -14,7 +14,7 @@ class WordObject
instantiate(scene, spriteName, textColor, lenRate)
{
let p = [{x : 3, y : 1.05}, {x : 20, y : 1.85}];
let p = [{x : 3, y : 1.25}, {x : 20, y : 2.05}];
this.scale = ((p[1].y - p[0].y) / (p[1].x - p[0].x)) * (this.wordWeight - p[0].x) + p[0].y;
this.fontScale = 25;
var random = WordSpace.getSpawnPoint(lenRate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment