flow: bye position scaling

This commit is contained in:
cha0s 2019-09-30 01:36:17 -05:00
parent 631e07e4c6
commit be1198722d
2 changed files with 10 additions and 10 deletions

View File

@ -60,8 +60,8 @@ export function createEntityForConnection(socket) {
physical: {},
positioned: {
state: {
x: x * 4,
y: y * 4,
x: x,
y: y,
},
},
receptacle: {

View File

@ -41,8 +41,8 @@ export function kittyFireJSON() {
traits: {
positioned: {
state: {
x: position[0] * 4,
y: position[1] * 4,
x: position[0],
y: position[1],
},
},
},
@ -67,12 +67,12 @@ export function kittyFireJSON() {
// for (let i = 0; i < 20; ++i) {
// addEntityWithRandomPosition('/flower-barrel.entity.json');
// }
// for (let i = 0; i < 3; ++i) {
// addEntityWithRandomPosition('/mama-kitty-spawner.entity.json');
// }
// for (let i = 0; i < 5; ++i) {
// addEntityWithRandomPosition('/fire.entity.json');
// }
for (let i = 0; i < 3; ++i) {
addEntityWithRandomPosition('/mama-kitty-spawner.entity.json');
}
for (let i = 0; i < 5; ++i) {
addEntityWithRandomPosition('/fire.entity.json');
}
// for (let i = 0; i < 1; ++i) {
// addEntityWithRandomPosition('/blue-fire.entity.json');
// }