couple more improvements, im pretty happy with how this is shaping up

This commit is contained in:
JHDev2006
2025-10-26 16:35:41 +00:00
parent 3466e7c4c2
commit 53f3bce94c
11 changed files with 33 additions and 16 deletions

View File

@@ -262,6 +262,7 @@ text = "EDITOR_MAIN_CREATE_1"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="BG/Border/Levels/VBoxContainer/LevelList/TopBit/Button"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_top = 0.5
@@ -361,11 +362,11 @@ layout_mode = 2
focus_mode = 0
[node name="ScrollContainer" parent="BG/Border/Levels/VBoxContainer/LevelInfo/SelectedLevel/MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo" index="0"]
scroll_horizontal = 1
scroll_horizontal = 202
is_active = true
[node name="ScrollContainer2" parent="BG/Border/Levels/VBoxContainer/LevelInfo/SelectedLevel/MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo" index="1"]
scroll_horizontal = 1
scroll_horizontal = 5
is_active = true
[node name="Panel" type="PanelContainer" parent="BG/Border/Levels/VBoxContainer/LevelInfo"]
@@ -376,7 +377,7 @@ theme_override_styles/panel = ExtResource("8_psbt7")
[node name="AutoScrollContainer" type="ScrollContainer" parent="BG/Border/Levels/VBoxContainer/LevelInfo/Panel"]
layout_mode = 2
mouse_filter = 2
scroll_vertical = 1
scroll_vertical = 13
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("24_wf6nb")
@@ -564,12 +565,11 @@ layout_mode = 2
focus_mode = 0
[node name="ScrollContainer" parent="BG/Border/Levels/VBoxContainer/LSSLevelInfo/SelectedOnlineLevel/MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo" index="0"]
scroll_horizontal = 1
is_active = true
auto_connect_focus = false
[node name="ScrollContainer2" parent="BG/Border/Levels/VBoxContainer/LSSLevelInfo/SelectedOnlineLevel/MarginContainer/HBoxContainer/HSplitContainer/LeftHalf/LevelInfo" index="1"]
scroll_horizontal = 1
scroll_horizontal = 5
is_active = true
auto_connect_focus = false
@@ -582,7 +582,7 @@ theme_override_styles/panel = ExtResource("8_psbt7")
[node name="AutoScrollContainer" type="ScrollContainer" parent="BG/Border/Levels/VBoxContainer/LSSLevelInfo/Panel"]
layout_mode = 2
mouse_filter = 0
scroll_vertical = 1
scroll_vertical = 13
horizontal_scroll_mode = 3
script = ExtResource("24_wf6nb")
direction = 1

View File

@@ -175,12 +175,10 @@ physics_interpolation_mode = 2
[node name="Flame" type="AnimatedSprite2D" parent="RotationJoint"]
unique_name_in_owner = true
visible = false
position = Vector2(0, -32)
sprite_frames = SubResource("SpriteFrames_8axu6")
animation = &"Rise"
frame = 5
frame_progress = 1.0
animation = &"Loop"
frame_progress = 0.19739561
[node name="ResourceSetterNew" type="Node" parent="RotationJoint/Flame" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("3_fsldu")
@@ -244,6 +242,9 @@ offset = Vector2(0, 0)
disable_physics = false
metadata/_custom_type_script = "uid://d4a7yp6e55u8t"
[node name="OnScreen" type="VisibleOnScreenNotifier2D" parent="."]
rect = Rect2(-64, -64, 128, 128)
[connection signal="player_hit" from="RotationJoint/EnemyPlayerDetection" to="." method="damage_player"]
[connection signal="player_stomped_on" from="RotationJoint/EnemyPlayerDetection" to="." method="damage_player"]
[connection signal="timeout" from="Timer" to="." method="do_cycle"]

View File

@@ -71,7 +71,7 @@ static var colour_ids := {}
func _process(_delta: float) -> void:
$\"../LevelEditorVisibleNode/Label\".text = str(owner.door_id)
$\"../LevelEditorVisibleNode/Label\".text = str(owner.door_id) +\"/\" + str(owner.sublevel_id)
"
[sub_resource type="Animation" id="Animation_hk64y"]

View File

@@ -44,7 +44,7 @@ property_name = "sprite_frames"
resource_json = ExtResource("3_7tad6")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="PropertyExposer" type="Node" parent="."]
[node name="EditorPropertyExposer" type="Node" parent="."]
script = ExtResource("4_hj3mh")
properties = ["door_id", "sublevel_id"]
properties_force_selector = Dictionary[String, PackedScene]({