level editor overhaul

more objects, NPCs, better toolbar and snapping
This commit is contained in:
2026-09-29 12:13:56 +02:00
parent db8aa53d3f
commit f676e59008
8 changed files with 1062 additions and 576 deletions
+9
View File
@@ -10,6 +10,15 @@
},
"flow_butterfly_jar": {
"type": "butterfly_jar"
},
"house": {
"type": "house"
},
"diary": {
"type": "diary"
},
"player": {
"type": "player"
}
}
}
+34 -32
View File
@@ -153,13 +153,6 @@
"h": 20,
"group": "ground"
},
{
"x": 1940,
"y": 2720,
"w": 360,
"h": 20,
"group": "ground"
},
{
"x": 2660,
"y": 880,
@@ -278,12 +271,18 @@
"w": 320,
"h": 40,
"group": "ground"
},
{
"x": 2100,
"y": 2720,
"w": 60,
"h": 20
}
],
"enemies": [
{
"x": 2080,
"y": 360,
"y": 380,
"type": "enemy"
},
{
@@ -352,45 +351,42 @@
"type": "miniboss"
}
],
"npcs": [],
"props": [
{
"x": 200,
"y": 320,
"type": "save_point",
"pos": [
200,
320
],
"radius": 110
"radius": 110,
"object_id": null
},
{
"x": 820,
"y": 320,
"type": "butterfly_jar",
"pos": [
420,
320
]
"radius": 180,
"object_id": null
},
{
"x": 500,
"y": 320,
"type": "light_source",
"pos": [
500,
320
],
"radius": 180
"radius": 180,
"object_id": null
},
{
"x": 900,
"y": 2780,
"type": "light_source",
"pos": [
900,
2780
],
"radius": 180
"radius": 180,
"object_id": null
},
{
"x": 2600,
"y": 1860,
"type": "light_source",
"pos": [
2600,
1860
],
"radius": 180
"radius": 180,
"object_id": null
}
],
"exits": [
@@ -459,6 +455,12 @@
"y": 2180,
"w": 40,
"h": 600
},
{
"x": 1940,
"y": 2720,
"w": 360,
"h": 20
}
],
"room_w": 1600,
@@ -21,58 +21,6 @@
]
},
"enemies": [],
"exits": [
{
"rect": [
10,
300,
80,
60
],
"to": "room_07",
"spawn": [
-1000,
2720
],
"hint": "Back"
}
],
"ability_doors": [],
"entry_spawns": {
"entry_1": [
120,
300
],
"entry_diary": [
180,
300
]
},
"props": [
{
"type": "save_point",
"pos": [
120,
360
],
"radius": 110
},
{
"type": "light_source",
"pos": [
900,
360
],
"radius": 180
},
{
"type": "diary",
"pos": [
180,
310
]
}
],
"npcs": [
{
"type": "vendor",
@@ -98,10 +46,98 @@
{
"type": "combat_master",
"pos": [
400,
479,
306
]
}
],
"exits": [
{
"rect": [
10,
300,
80,
60
],
"trade_cost": 0
"to": "room_07",
"spawn": [
-1000,
2720
],
"hint": "Back"
}
],
"ability_doors": [],
"entry_spawns": {
"entry_1": [
120,
300
],
"entry_diary": [
300,
300
]
},
"props": [
{
"type": "house",
"pos": [
720,
360
],
"radius": 180,
"object_id": "house"
},
{
"type": "save_point",
"pos": [
1300,
360
],
"radius": 110
},
{
"type": "light_source",
"pos": [
1360,
360
],
"radius": 180
},
{
"type": "diary",
"pos": [
239,
310
],
"radius": 180
},
{
"type": "butterfly_jar",
"pos": [
1480,
360
],
"radius": 180,
"object_id": "flow_butterfly_jar"
},
{
"type": "butterfly_jar",
"pos": [
1520,
360
],
"radius": 180,
"object_id": "flow_butterfly_jar"
},
{
"type": "butterfly_jar",
"pos": [
1560,
360
],
"radius": 180,
"object_id": "flow_butterfly_jar"
}
]
}