Merge branch 'master' of ssh://cryps.gg:40022/~/cryps

This commit is contained in:
ntr 2019-01-14 22:14:46 +11:00
commit 1eb5b5345e
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class ZoneNode extends Phaser.GameObjects.Sprite {
case 'BOSS': case 'BOSS':
this.setScale(0.25); this.setScale(0.25);
break; break;
case 'ZONE': case 'MINIBOSS':
this.setScale(0.1); this.setScale(0.1);
break; break;
default: default:

View File

@ -37,7 +37,7 @@ class Zones extends Phaser.Scene {
this.nodes = []; this.nodes = [];
nodeData.forEach((n, i) => { nodeData.forEach((n, i) => {
this.nodes[i] = this.add.existing( this.nodes[i] = this.add.existing(
new Node(this, 250 + i * 100, 250, i, n.success, n.tag) new Node(this, n.x * 50, n.y * 50, i, n.success, n.tag)
).setInteractive(); ).setInteractive();
}); });
} }