flow: bye position scaling
This commit is contained in:
parent
631e07e4c6
commit
be1198722d
|
@ -60,8 +60,8 @@ export function createEntityForConnection(socket) {
|
|||
physical: {},
|
||||
positioned: {
|
||||
state: {
|
||||
x: x * 4,
|
||||
y: y * 4,
|
||||
x: x,
|
||||
y: y,
|
||||
},
|
||||
},
|
||||
receptacle: {
|
||||
|
|
|
@ -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');
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue
Block a user