before fog of war

This commit is contained in:
2026-01-17 11:12:32 +01:00
parent 189dc2042c
commit 454c065cf3
9 changed files with 130 additions and 36 deletions

View File

@@ -20,7 +20,7 @@ zoom = Vector2(3, 3)
[node name="Environment" type="Node2D" parent="." unique_id=1877699223]
[node name="DungeonLayer0" type="TileMapLayer" parent="Environment" unique_id=1234567891]
z_index = -1
z_index = -2
tile_set = ExtResource("9")
[node name="TileMapLayerAbove" type="TileMapLayer" parent="Environment" unique_id=1234567892]

View File

@@ -141,7 +141,6 @@ horizontal_alignment = 1
[node name="LabelRoomCode" type="Label" parent="UpperRight/HBoxContainer/VBoxContainerHost" unique_id=1807484689]
layout_mode = 2
theme = SubResource("Theme_standard_font")
text = ""
horizontal_alignment = 1
[node name="VBoxContainerBoss" type="VBoxContainer" parent="UpperRight/HBoxContainer" unique_id=1933444957]
@@ -159,11 +158,9 @@ layout_mode = 2
texture_progress = ExtResource("4_hearts_filled")
[node name="CenterTop" type="MarginContainer" parent="." unique_id=22752256]
anchors_preset = 7
anchors_preset = 5
anchor_left = 0.5
anchor_top = 0.0
anchor_right = 0.5
anchor_bottom = 0.0
offset_left = -150.0
offset_top = 8.0
offset_right = 150.0
@@ -171,13 +168,13 @@ offset_bottom = 28.0
grow_horizontal = 2
theme = SubResource("Theme_standard_font")
[node name="LabelDisconnected" type="Label" parent="CenterTop" unique_id=869912310]
[node name="LabelDisconnected" type="Label" parent="CenterTop" unique_id=1260056884]
visible = false
layout_mode = 2
theme = SubResource("Theme_standard_font")
text = "Disconnected - Reconnecting..."
horizontal_alignment = 1
vertical_alignment = 1
visible = false
[node name="MobileInput" type="Control" parent="." unique_id=1373461519]
layout_mode = 3
@@ -215,9 +212,9 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -40.0
offset_top = -20.0
offset_bottom = 20.0
offset_left = -320.0
offset_top = -160.0
offset_bottom = 160.0
grow_horizontal = 0
grow_vertical = 2
@@ -228,13 +225,12 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -205.765
offset_top = -94.475
offset_right = -5.7649994
offset_bottom = 25.525024
offset_left = -320.0
offset_top = -160.0
offset_bottom = 160.0
grow_horizontal = 0
grow_vertical = 2
theme_override_constants/margin_right = 42
theme_override_constants/margin_right = 0
[node name="B_ButtonContainer" type="Control" parent="MobileInput/Control/MarginContainer" unique_id=297390115]
layout_mode = 2
@@ -244,9 +240,9 @@ layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -32.0
offset_right = 64.0
offset_bottom = 32.0
offset_top = -64.0
offset_right = 128.0
offset_bottom = 64.0
grow_vertical = 2
theme_override_styles/panel = ExtResource("8_yeruy")
@@ -288,9 +284,9 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -64.0
offset_top = -32.0
offset_bottom = 32.0
offset_left = -128.0
offset_top = -64.0
offset_bottom = 64.0
grow_horizontal = 0
grow_vertical = 2
theme_override_styles/panel = ExtResource("8_yeruy")
@@ -323,4 +319,46 @@ touchscreen_only = true
input_action = "grab"
metadata/_custom_type_script = "uid://bh5a3ydiu51eo"
[node name="X_ButtonContainer" type="Control" parent="MobileInput/Control/MarginContainer" unique_id=1591990397]
layout_mode = 2
[node name="X_Circle" type="Panel" parent="MobileInput/Control/MarginContainer/X_ButtonContainer" unique_id=325379818]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -64.0
offset_right = 64.0
offset_bottom = 128.0
grow_horizontal = 2
theme_override_styles/panel = ExtResource("8_yeruy")
[node name="X_Label" type="Label" parent="MobileInput/Control/MarginContainer/X_ButtonContainer/X_Circle" unique_id=1443974385]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "X"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TouchScreenButtonControl" type="TextureButton" parent="MobileInput/Control/MarginContainer/X_ButtonContainer/X_Circle" unique_id=1520840278]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 0
mouse_filter = 2
action_mode = 0
ignore_texture_size = true
stretch_mode = 5
script = ExtResource("8_cu5yl")
touchscreen_only = true
input_action = "attack"
metadata/_custom_type_script = "uid://bh5a3ydiu51eo"
[connection signal="analogic_changed" from="MobileInput/VirtualJoystick" to="MobileInput" method="_on_virtual_joystick_analogic_changed"]

View File

@@ -62,8 +62,9 @@ fill = 1
fill_from = Vector2(0.51304346, 0.46086955)
fill_to = Vector2(0, 0)
[sub_resource type="CircleShape2D" id="CircleShape2D_1"]
radius = 5.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_pf23h"]
radius = 3.0
height = 12.0
[sub_resource type="CircleShape2D" id="CircleShape2D_2"]
radius = 8.0
@@ -120,8 +121,7 @@ collision_mask = 16384
shape = SubResource("CircleShape2D_pf23h")
[node name="Shadow" type="Sprite2D" parent="." unique_id=937683521]
z_index = -1
position = Vector2(0, 7)
position = Vector2(0, 8)
texture = SubResource("GradientTexture2D_jej6c")
script = ExtResource("3")
@@ -187,7 +187,8 @@ vframes = 8
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=989315141]
position = Vector2(0, 4)
shape = SubResource("CircleShape2D_1")
rotation = -1.5707964
shape = SubResource("CapsuleShape2D_pf23h")
[node name="GrabArea" type="Area2D" parent="." unique_id=518653365]
position = Vector2(0, 4)