fixed basic movement, now add world loading
This commit is contained in:
parent
34ba37312a
commit
50f37ebc5f
23 changed files with 482 additions and 27 deletions
34
packs/base/data/world/chunks/0_0.json
Normal file
34
packs/base/data/world/chunks/0_0.json
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"schema": 1,
|
||||
"id": "worldchunk:0_0",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"biome": "biome:forest",
|
||||
"collision_rects": [
|
||||
{ "id": "col:rockwall_01", "rect": [0, 0, 512, 32] }
|
||||
],
|
||||
"spawn_zones": [
|
||||
{
|
||||
"id": "spawn:forest_a",
|
||||
"biome": "biome:forest",
|
||||
"rect": [64, 64, 320, 320],
|
||||
"time_windows": ["day", "night"],
|
||||
"weather": ["any"]
|
||||
}
|
||||
],
|
||||
"pickups": [
|
||||
{
|
||||
"id": "pickup:forest_herb_01",
|
||||
"item": "item:forest_herb",
|
||||
"pos": [120, 140],
|
||||
"respawn_seconds": 600
|
||||
},
|
||||
{
|
||||
"id": "pickup:rusty_coin_01",
|
||||
"item": "item:rusty_coin",
|
||||
"pos": [220, 180],
|
||||
"respawn_seconds": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue