attack changes

dissolve platforms, mouse for attack, directional attack (i think), hold for attack
This commit is contained in:
2026-10-02 08:12:53 +02:00
parent bf4e8de590
commit c7558a3947
7 changed files with 760 additions and 136 deletions
+4 -2
View File
@@ -231,7 +231,7 @@
"y": 540,
"w": 60,
"h": 20,
"group": "moving",
"group": "dissolve",
"layer": 0,
"path": [
[
@@ -242,7 +242,9 @@
820,
600
]
]
],
"stand_time": 2,
"dissolve_time": 2
},
{
"x": 1040,
+53 -60
View File
@@ -16,15 +16,15 @@
120
],
"room5_bottom_right": [
1400,
440
1420,
780
]
},
"platforms": [
{
"x": 0,
"x": 20,
"y": 180,
"w": 240,
"w": 220,
"h": 20,
"group": "ground",
"layer": 0
@@ -33,15 +33,7 @@
"x": 0,
"y": 0,
"w": 20,
"h": 180,
"group": "ground",
"layer": 0
},
{
"x": 20,
"y": 0,
"w": 1520,
"h": 20,
"h": 840,
"group": "ground",
"layer": 0
},
@@ -62,83 +54,83 @@
"layer": 0
},
{
"x": 860,
"y": 500,
"w": 680,
"x": 0,
"y": 840,
"w": 1520,
"h": 20,
"group": "ground",
"layer": 0
},
{
"x": 1520,
"y": 380,
"y": 680,
"w": 20,
"h": 120,
"h": 180,
"group": "ground",
"layer": 0
},
{
"x": 1320,
"y": 360,
"w": 220,
"x": 1380,
"y": 700,
"w": 20,
"h": 140,
"group": "trigger",
"layer": 0,
"name": "open_when_boss_slain",
"open_on_boss_dead": true
},
{
"x": 1380,
"y": 680,
"w": 140,
"h": 20,
"group": "ground",
"layer": 0
"group": "trigger",
"layer": 0,
"name": "open_when_boss_slain",
"open_on_boss_dead": true
},
{
"x": 1520,
"y": 20,
"x": 1380,
"y": 0,
"w": 20,
"h": 340,
"h": 680,
"group": "ground",
"layer": 0
},
{
"x": 1180,
"y": 440,
"w": 1,
"h": 1,
"group": "ground"
},
{
"x": 1180,
"y": 420,
"w": 60,
"x": 1040,
"y": 740,
"w": 160,
"h": 20,
"group": "moving",
"layer": 0,
"path": [
[
1180,
420
1040,
740
],
[
1180,
360
1040,
200
]
]
],
"open_on_boss_dead": true
}
],
"enemies": [
{
"x": 520,
"y": 140,
"type": "enemy",
"x": 620,
"y": 720,
"type": "boss",
"layer": 0,
"behavior": ""
},
{
"x": 1000,
"y": 460,
"type": "enemy",
"layer": 0,
"behavior": ""
"behavior": "charger"
}
],
"npcs": [],
"props": [
{
"x": 1400,
"y": 360,
"x": 860,
"y": 180,
"type": "save_point",
"radius": 90,
"object_id": "lamp",
@@ -163,14 +155,14 @@
},
{
"x": 1440,
"y": 400,
"y": 740,
"w": 80,
"h": 100,
"to": "room_06",
"spawn_id": "room6_top_right",
"to": "room_07",
"spawn_id": "room7_top_left",
"spawn": [
520,
240
180,
460
],
"hint": "",
"layer": 0
@@ -178,5 +170,6 @@
],
"ability_doors": [],
"room_w": 1600,
"room_h": 900
"room_h": 900,
"mist": false
}
@@ -0,0 +1,90 @@
{
"name": "room_07",
"display_name": "room_07",
"meta": {
"id": "room_07",
"name": "room_07"
},
"bounds": {},
"player_spawn": [
220,
440
],
"entry_spawns": {
"room7_top_left": [
180,
460
]
},
"platforms": [
{
"x": 60,
"y": 200,
"w": 20,
"h": 340,
"group": "ground",
"layer": 0
},
{
"x": 80,
"y": 520,
"w": 920,
"h": 20,
"group": "ground",
"layer": 0
}
],
"enemies": [],
"npcs": [],
"props": [
{
"x": 440,
"y": 494,
"type": "reward_chest",
"radius": 180,
"object_id": null,
"layer": 0,
"quest_id": "",
"coins": [
30,
10
]
},
{
"x": 820,
"y": 500,
"type": "ability_pickup",
"radius": 180,
"object_id": null,
"layer": 0,
"quest_id": ""
},
{
"x": 640,
"y": 520,
"type": "save_point",
"radius": 90,
"object_id": "lamp"
}
],
"exits": [
{
"x": 80,
"y": 420,
"w": 80,
"h": 100,
"to": "room_05",
"spawn_id": "room5_bottom_right",
"spawn": [
1420,
780
],
"hint": "",
"layer": 0
}
],
"ability_doors": [],
"room_w": 1600,
"room_h": 900,
"mist": false
}