mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://q3aaukgw01nw"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ln7uey6c4mf" path="res://Assets/Sprites/Blocks/PSwitchBlock.png" id="1_8hxb6"]
|
|
[ext_resource type="Script" uid="uid://bul1nbd2in1gn" path="res://Scripts/Classes/Components/PSwitcher.gd" id="2_13wn0"]
|
|
[ext_resource type="Script" uid="uid://364rywt44hy6" path="res://Scripts/Classes/UI/PackSprite.gd" id="2_ok1ms"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_13wn0"]
|
|
size = Vector2(16, 16)
|
|
|
|
[node name="PSwitchBlock" type="StaticBody2D"]
|
|
collision_layer = 6
|
|
collision_mask = 0
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_8hxb6")
|
|
region_enabled = true
|
|
region_rect = Rect2(0, 0, 16, 16)
|
|
script = ExtResource("2_ok1ms")
|
|
metadata/_custom_type_script = "uid://364rywt44hy6"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_13wn0")
|
|
|
|
[node name="PSwitcher" type="Node" parent="."]
|
|
script = ExtResource("2_13wn0")
|
|
new_scene = "uid://cn7wwtug5xman"
|
|
metadata/_custom_type_script = "uid://bul1nbd2in1gn"
|