Commit e180f83c authored by 18손재민's avatar 18손재민

일부 좌표 수정, 코드 간략화

parent daa7b642
...@@ -177,12 +177,6 @@ var gameScene = new Phaser.Class( ...@@ -177,12 +177,6 @@ var gameScene = new Phaser.Class(
{ {
element.attract(); element.attract();
}) })
let tempNames = '';
WordSpace.nameGroup.forEach(function(element)
{
//테스트용
tempNames += element.wordText + (element.isStrong?' [강]':'') + '\n';
});
WordSpace.attackPaperGroup.forEach(function(element){ WordSpace.attackPaperGroup.forEach(function(element){
element.moveObject(element); element.moveObject(element);
}); });
......
...@@ -276,9 +276,6 @@ class NameWord extends WordObject ...@@ -276,9 +276,6 @@ class NameWord extends WordObject
duration: 2000, duration: 2000,
repeat: 0 repeat: 0
}); });
/*setTimeout(() => {
WordSpace.movingObjects.pop();
}, 2000);*/
//이동경로 디버그 //이동경로 디버그
/*var graphics = ScenesData.gameScene.add.graphics(); /*var graphics = ScenesData.gameScene.add.graphics();
......
...@@ -199,8 +199,8 @@ WordSpace.loadImage = function(scene) ...@@ -199,8 +199,8 @@ WordSpace.loadImage = function(scene)
scene.load.spritesheet('pyeongminThrow', 'assets/image/character/pyeongmin/throw/pyeong_throw.png', { frameWidth: 490, frameHeight: 423 }); scene.load.spritesheet('pyeongminThrow', 'assets/image/character/pyeongmin/throw/pyeong_throw.png', { frameWidth: 490, frameHeight: 423 });
scene.load.image('attackPapaer', 'assets/image/etc/paper_crumbled.png'); scene.load.image('attackPapaer', 'assets/image/etc/paper_crumbled.png');
WordSpace.weightTextObjForTest = scene.add.text(100, 75, '뇌의 무게: (현재) 0 / ' + this.brainCapacity + ' (전체)').setDepth(10).setColor('#000000'); WordSpace.weightTextObjForTest = scene.add.text(game.config.width * 5 / 64, game.config.height * 5 / 48, '뇌의 무게: (현재) 0 / ' + this.brainCapacity + ' (전체)').setDepth(10).setColor('#000000');
WordSpace.killLogTextForTest = scene.add.text(1000, 50, WordSpace.killLogForTest).setDepth(10).setColor('#000000').setAlign('right'); WordSpace.killLogTextForTest = scene.add.text(game.config.width * 25 / 32, game.config.height * 5 / 72, WordSpace.killLogForTest).setDepth(10).setColor('#000000').setAlign('right');
} }
WordSpace.loadAnimation = function(scene) WordSpace.loadAnimation = function(scene)
......
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