Reduce room floor depth
This commit is contained in:
parent
f2511c3673
commit
ff90fc8c96
@ -164,9 +164,9 @@ function makeRoom(id, name, floor, side, color) {
|
||||
width: BANK_W,
|
||||
height,
|
||||
walkBand: {
|
||||
minY: y + Math.round(height * 0.60),
|
||||
minY: y + Math.round(height * 0.69),
|
||||
maxY: y + height - 10,
|
||||
homeY: y + Math.round(height * 0.82)
|
||||
homeY: y + Math.round(height * 0.84)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -410,7 +410,7 @@ class HouseScene extends Phaser.Scene {
|
||||
const sideInset = Math.round(room.width * 0.20)
|
||||
const wallTop = room.y + 9
|
||||
const backTop = room.y + Math.max(14, Math.round(room.height * 0.08))
|
||||
const horizonY = room.y + Math.round(room.height * 0.60)
|
||||
const horizonY = room.y + Math.round(room.height * 0.70)
|
||||
const bottomY = room.y + room.height - 8
|
||||
const left = room.x + inset
|
||||
const right = room.x + room.width - inset
|
||||
@ -1239,7 +1239,7 @@ const game = new Phaser.Game({
|
||||
})
|
||||
|
||||
window.__DOLLHOUSE__ = {
|
||||
version: '0.8.0',
|
||||
version: '0.8.1',
|
||||
game,
|
||||
async resetAll() {
|
||||
await clearGameState()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user