Bullet field: pierce-through and damaging, rings spaced 3 cells apart
Solid bullets were blocking the patrolling enemies, so the field now defaults to solid = false: each bullet is a plain StaticBody2D with no collision layer, plus an Area2D that only detects the player, so nothing is physically obstructed while contact still costs a heart. Ring radii changed from [5, 10, 15] to [3, 6, 9]. Damage is now applied every frame to whatever is overlapping, not only on body_entered, so standing inside a bullet keeps hurting instead of only the first touch. Also picks up the editor change that removed Walker_03.
This commit is contained in:
+5
-10
@@ -24,7 +24,7 @@
|
||||
|
||||
[node name="DeathScreen" parent="." unique_id=1952687359 instance=ExtResource("22_death")]
|
||||
|
||||
[node name="LevelClear" parent="." instance=ExtResource("26_clear")]
|
||||
[node name="LevelClear" parent="." unique_id=573996737 instance=ExtResource("26_clear")]
|
||||
next_level_scene = "res://scenes/level2.tscn"
|
||||
|
||||
[node name="Level" type="Node2D" parent="." unique_id=1678372922]
|
||||
@@ -212,15 +212,10 @@ position = Vector2(270, 18)
|
||||
z_index = 5
|
||||
position = Vector2(325, 108)
|
||||
|
||||
[node name="Door_01" parent="Level/PrefabInstances/Interactables" instance=ExtResource("25_door")]
|
||||
[node name="Door_01" parent="Level/PrefabInstances/Interactables" unique_id=1439478654 instance=ExtResource("25_door")]
|
||||
z_index = 5
|
||||
position = Vector2(324, 216)
|
||||
|
||||
[node name="Door_02" parent="Level/PrefabInstances/Interactables" instance=ExtResource("25_door")]
|
||||
z_index = 5
|
||||
position = Vector2(414, 108)
|
||||
atlas_region = Rect2(198, 90, 18, 18)
|
||||
|
||||
[node name="Collectibles" type="Node2D" parent="Level/PrefabInstances" unique_id=2086540192]
|
||||
|
||||
[node name="CoinGoldRound_01" parent="Level/PrefabInstances/Collectibles" unique_id=926105584 instance=ExtResource("17_rmlt8")]
|
||||
@@ -239,15 +234,15 @@ position = Vector2(315, 63)
|
||||
z_index = 5
|
||||
position = Vector2(126, 144)
|
||||
|
||||
[node name="Diamond_01" parent="Level/PrefabInstances/Collectibles" instance=ExtResource("24_diamond")]
|
||||
[node name="Diamond_01" parent="Level/PrefabInstances/Collectibles" unique_id=879831603 instance=ExtResource("24_diamond")]
|
||||
z_index = 5
|
||||
position = Vector2(90, 18)
|
||||
|
||||
[node name="Diamond_02" parent="Level/PrefabInstances/Collectibles" instance=ExtResource("24_diamond")]
|
||||
[node name="Diamond_02" parent="Level/PrefabInstances/Collectibles" unique_id=1537151440 instance=ExtResource("24_diamond")]
|
||||
z_index = 5
|
||||
position = Vector2(414, 54)
|
||||
|
||||
[node name="Diamond_03" parent="Level/PrefabInstances/Collectibles" instance=ExtResource("24_diamond")]
|
||||
[node name="Diamond_03" parent="Level/PrefabInstances/Collectibles" unique_id=2052535476 instance=ExtResource("24_diamond")]
|
||||
z_index = 5
|
||||
position = Vector2(270, 144)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user