mirror of
https://github.com/danbulant/heaventaker
synced 2026-07-07 12:11:01 +00:00
new map
This commit is contained in:
parent
7e3edf4236
commit
5ae820def0
1 changed files with 16 additions and 6 deletions
|
|
@ -5,6 +5,16 @@ function wind(direction) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const pillar = {
|
||||||
|
type: "cloud",
|
||||||
|
destroyable: false
|
||||||
|
}
|
||||||
|
|
||||||
|
const cloud = {
|
||||||
|
type: "cloud",
|
||||||
|
destroyable: true
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {
|
* @type {
|
||||||
[key: string]: {
|
[key: string]: {
|
||||||
|
|
@ -35,16 +45,16 @@ export const maps = {
|
||||||
x: 5,
|
x: 5,
|
||||||
y: 7
|
y: 7
|
||||||
},
|
},
|
||||||
steps: 11,
|
steps: 14,
|
||||||
px: 100, // block size
|
px: 100, // block size
|
||||||
map: [
|
map: [
|
||||||
["barrier", "barrier", "angel" , "barrier", "barrier"],
|
["barrier", "barrier", "angel" , "barrier", "barrier"],
|
||||||
["barrier", "barrier", null , "barrier", "barrier"],
|
["barrier", "barrier", null , "barrier", "barrier"],
|
||||||
[null , null , wind(1) , null , null ],
|
[pillar , null , null , null , pillar ],
|
||||||
[null , "lyre" , wind(1) , null , null ],
|
[null , wind(4) , wind(4) , wind(4) , wind(4) ],
|
||||||
["lyre" , null , "cloud" , null , null ],
|
[null , cloud , wind(2) , wind(2) , pillar ],
|
||||||
[null , null , null , "lyre" , null ],
|
[null , "lyre" , null , null , pillar ],
|
||||||
["spawn" , null , null , null , null ]
|
[null , "lyre" , "spawn" , null , pillar ]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Reference in a new issue