mirror of
				https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
				synced 2025-10-26 09:20:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			75 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [gd_scene load_steps=12 format=3 uid="uid://dkxkrqflg46b2"]
 | |
| 
 | |
| [ext_resource type="Texture2D" uid="uid://ck2ac2a266r6i" path="res://Assets/Sprites/Items/Vine.png" id="1_pfdri"]
 | |
| [ext_resource type="AudioStream" uid="uid://bdm8wm7vy4r12" path="res://Assets/Audio/SFX/VineAppear.wav" id="2_ap2o3"]
 | |
| [ext_resource type="Script" uid="uid://cxtvy2qolon2f" path="res://Scripts/Classes/Entities/Items/Vine.gd" id="2_tlgk1"]
 | |
| [ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_ni768"]
 | |
| [ext_resource type="Script" uid="uid://cnheej0sxmoxg" path="res://Scripts/Parts/PlayerDetection.gd" id="4_m01lk"]
 | |
| [ext_resource type="JSON" path="res://Assets/Sprites/Items/Vine.json" id="4_q1cik"]
 | |
| [ext_resource type="Script" uid="uid://cq6f682453q6o" path="res://Scripts/Classes/Components/ResourceSetter.gd" id="6_ohmvf"]
 | |
| [ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="7_e75m7"]
 | |
| 
 | |
| [sub_resource type="RectangleShape2D" id="RectangleShape2D_ap2o3"]
 | |
| resource_local_to_scene = true
 | |
| size = Vector2(8, 16)
 | |
| 
 | |
| [sub_resource type="Resource" id="Resource_cmcye"]
 | |
| script = ExtResource("7_e75m7")
 | |
| Overworld = ExtResource("2_ap2o3")
 | |
| metadata/_custom_type_script = "uid://cmvlgsjmsk0v5"
 | |
| 
 | |
| [sub_resource type="CircleShape2D" id="CircleShape2D_ssycu"]
 | |
| 
 | |
| [node name="Vine" type="Node2D"]
 | |
| z_index = -5
 | |
| script = ExtResource("2_tlgk1")
 | |
| 
 | |
| [node name="Visuals" type="NinePatchRect" parent="."]
 | |
| offset_left = -8.0
 | |
| offset_top = -8.0
 | |
| offset_right = 8.0
 | |
| offset_bottom = 8.0
 | |
| pivot_offset = Vector2(8, 8)
 | |
| texture = ExtResource("1_pfdri")
 | |
| patch_margin_top = 16
 | |
| axis_stretch_vertical = 1
 | |
| 
 | |
| [node name="ResourceSetterNew" type="Node" parent="Visuals" node_paths=PackedStringArray("node_to_affect")]
 | |
| script = ExtResource("3_ni768")
 | |
| node_to_affect = NodePath("..")
 | |
| property_name = "texture"
 | |
| mode = 1
 | |
| resource_json = ExtResource("4_q1cik")
 | |
| metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
 | |
| 
 | |
| [node name="Hitbox" type="Area2D" parent="."]
 | |
| position = Vector2(-8, -8)
 | |
| 
 | |
| [node name="Collision" type="CollisionShape2D" parent="Hitbox"]
 | |
| position = Vector2(8, 8)
 | |
| shape = SubResource("RectangleShape2D_ap2o3")
 | |
| 
 | |
| [node name="SFX" type="AudioStreamPlayer2D" parent="."]
 | |
| stream = ExtResource("2_ap2o3")
 | |
| autoplay = true
 | |
| bus = &"SFX"
 | |
| 
 | |
| [node name="ResourceSetter" type="Node" parent="SFX" node_paths=PackedStringArray("node_to_affect")]
 | |
| script = ExtResource("6_ohmvf")
 | |
| node_to_affect = NodePath("..")
 | |
| property_name = "stream"
 | |
| themed_resource = SubResource("Resource_cmcye")
 | |
| metadata/_custom_type_script = "uid://cq6f682453q6o"
 | |
| 
 | |
| [node name="WarpHitbox" type="Area2D" parent="."]
 | |
| script = ExtResource("4_m01lk")
 | |
| metadata/_custom_type_script = "uid://cnheej0sxmoxg"
 | |
| 
 | |
| [node name="CollisionShape2D" type="CollisionShape2D" parent="WarpHitbox"]
 | |
| shape = SubResource("CircleShape2D_ssycu")
 | |
| disabled = true
 | |
| 
 | |
| [connection signal="area_exited" from="Hitbox" to="." method="on_area_exited"]
 | |
| [connection signal="sprites_updated" from="SFX/ResourceSetter" to="SFX" method="play"]
 | |
| [connection signal="player_entered" from="WarpHitbox" to="." method="on_player_entered"]
 | 
