Files
Light_And_Dark/pygame test/data/world/rooms/room_02.json
T
Lena 8492ce1084 Version 0.1
basic ovement, 1 ability, basic room layout + enemy movement, boss, flow system
2026-08-19 10:34:14 +02:00

205 lines
2.4 KiB
JSON

{
"meta": {
"id": "room_02",
"name": "Room 02 - First Enemies"
},
"player_spawn": [
-320,
300
],
"bounds": {
"kill_y": 2000
},
"platforms": {
"ground": [
[
-500,
360,
2440,
660
],
[
-760,
-580,
260,
1600
],
[
1940,
-580,
240,
1600
],
[
-760,
-820,
2940,
240
]
],
"floating": [
[
260,
260,
140,
18
],
[
520,
220,
140,
18
],
[
760,
180,
140,
18
],
[
940,
120,
170,
18
],
[
1200,
160,
170,
18
],
[
1460,
100,
170,
18
],
[
1200,
-20,
280,
40
],
[
40,
-140,
1100,
60
],
[
-500,
-140,
460,
60
],
[
-500,
-260,
260,
40
],
[
-500,
-380,
160,
40
],
[
-320,
-500,
1380,
40
],
[
1140,
-440,
340,
40
],
[
1560,
-380,
380,
40
]
]
},
"enemies": [
{
"type": "enemy",
"pos": [
240,
-200
]
},
{
"type": "enemy",
"pos": [
620,
140
]
},
{
"type": "enemy",
"pos": [
860,
-200
]
},
{
"type": "enemy",
"pos": [
480,
-580
]
},
{
"type": "enemy",
"pos": [
1740,
280
]
}
],
"exits": [
{
"rect": [
-500,
300,
80,
60
],
"to": "room_01",
"spawn": [
1560,
140
],
"hint": "Back"
},
{
"rect": [
1860,
-500,
80,
120
],
"to": "room_07",
"spawn": [
180,
240
],
"hint": ""
}
],
"ability_doors": [],
"entry_spawns": {
"entry_1": [
-420,
300
],
"entry_3": [
1840,
-440
]
}
}