mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
99 lines
3.3 KiB
Plaintext
99 lines
3.3 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://c6x7gv2lqeu1x"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bk0p52ttwojml" path="res://Assets/Sprites/Tilesets/Platform.png" id="1_sh7r3"]
|
|
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_sxeqe"]
|
|
[ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/Platform.json" id="3_35mwj"]
|
|
[ext_resource type="Script" uid="uid://cpwloakvp672a" path="res://Scripts/Parts/EditorVisibleNode.gd" id="4_2ywm4"]
|
|
[ext_resource type="Texture2D" uid="uid://dpdrrkqtcedgm" path="res://Assets/Sprites/Tilesets/DottedLine.png" id="5_fity7"]
|
|
[ext_resource type="Script" uid="uid://d0mqkvopasu8k" path="res://Scripts/Classes/Components/SecondQuestReplaceComponent.gd" id="6_fity7"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mq7me"]
|
|
size = Vector2(48, 8)
|
|
|
|
[sub_resource type="Animation" id="Animation_lvvvw"]
|
|
resource_name = "Move"
|
|
length = 3.0
|
|
loop_mode = 2
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("AnimatableBody2D:position")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(0, 128)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_7kqku"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("AnimatableBody2D:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_kqk52"]
|
|
_data = {
|
|
&"Move": SubResource("Animation_lvvvw"),
|
|
&"RESET": SubResource("Animation_7kqku")
|
|
}
|
|
|
|
[node name="SidewaysPlatform" type="Node2D"]
|
|
|
|
[node name="AnimatableBody2D" type="AnimatableBody2D" parent="."]
|
|
|
|
[node name="Sprite" type="NinePatchRect" parent="AnimatableBody2D"]
|
|
texture_repeat = 2
|
|
offset_left = -24.0
|
|
offset_right = 24.0
|
|
offset_bottom = 8.0
|
|
texture = ExtResource("1_sh7r3")
|
|
patch_margin_left = 8
|
|
patch_margin_right = 8
|
|
axis_stretch_horizontal = 1
|
|
|
|
[node name="ResourceSetter" type="Node" parent="AnimatableBody2D/Sprite" node_paths=PackedStringArray("node_to_affect")]
|
|
script = ExtResource("2_sxeqe")
|
|
node_to_affect = NodePath("..")
|
|
property_name = "texture"
|
|
mode = 1
|
|
resource_json = ExtResource("3_35mwj")
|
|
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
|
|
|
|
[node name="Collision" type="CollisionShape2D" parent="AnimatableBody2D"]
|
|
position = Vector2(0, 4)
|
|
shape = SubResource("RectangleShape2D_mq7me")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_kqk52")
|
|
}
|
|
autoplay = "Move"
|
|
|
|
[node name="LevelEditorVisibleNode" type="Node2D" parent="."]
|
|
visibility_layer = 2
|
|
script = ExtResource("4_2ywm4")
|
|
metadata/_custom_type_script = "uid://cpwloakvp672a"
|
|
|
|
[node name="Line2D" type="Line2D" parent="LevelEditorVisibleNode"]
|
|
texture_repeat = 2
|
|
points = PackedVector2Array(0, 128, 0, 0)
|
|
width = 1.0
|
|
texture = ExtResource("5_fity7")
|
|
texture_mode = 1
|
|
|
|
[node name="SecondQuestReplacer" type="Node" parent="."]
|
|
script = ExtResource("6_fity7")
|
|
new_scene = "uid://cjkmd2yf3f84v"
|
|
metadata/_custom_type_script = "uid://d0mqkvopasu8k"
|