mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-27 17:59:41 +00:00
couple more improvements, im pretty happy with how this is shaping up
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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]({
|
||||
|
||||
Reference in New Issue
Block a user