mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://ctancgnvl58oc"]
|
|
|
|
[ext_resource type="Script" uid="uid://bosinwppqswdr" path="res://Scripts/Classes/Entities/Objects/ElevatorPlatform.gd" id="1_dmv4g"]
|
|
[ext_resource type="Texture2D" uid="uid://bk0p52ttwojml" path="res://Assets/Sprites/Tilesets/Platform.png" id="2_b0vbm"]
|
|
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_wc2ur"]
|
|
[ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/Platform.json" id="4_6u0fp"]
|
|
[ext_resource type="Script" uid="uid://d0mqkvopasu8k" path="res://Scripts/Classes/Components/SecondQuestReplaceComponent.gd" id="5_isijo"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wc2ur"]
|
|
size = Vector2(48, 8)
|
|
|
|
[node name="ElevatorPlatform" type="StaticBody2D"]
|
|
physics_interpolation_mode = 2
|
|
script = ExtResource("1_dmv4g")
|
|
|
|
[node name="Sprite" type="NinePatchRect" parent="."]
|
|
offset_left = -24.0
|
|
offset_right = 24.0
|
|
offset_bottom = 8.0
|
|
texture = ExtResource("2_b0vbm")
|
|
patch_margin_left = 8
|
|
patch_margin_right = 8
|
|
axis_stretch_horizontal = 1
|
|
|
|
[node name="ResourceSetter" type="Node" parent="Sprite" node_paths=PackedStringArray("node_to_affect")]
|
|
script = ExtResource("3_wc2ur")
|
|
node_to_affect = NodePath("..")
|
|
property_name = "texture"
|
|
mode = 1
|
|
resource_json = ExtResource("4_6u0fp")
|
|
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
|
|
|
[node name="Collision" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, 4)
|
|
shape = SubResource("RectangleShape2D_wc2ur")
|
|
|
|
[node name="SecondQuestReplacer" type="Node" parent="."]
|
|
script = ExtResource("5_isijo")
|
|
new_scene = "uid://c36sl1w3qo8k1"
|
|
properties = Array[String](["vertical_direction", "top"])
|
|
metadata/_custom_type_script = "uid://d0mqkvopasu8k"
|