godot-plateformer/_props/fragile_rock/fragile_rock.tscn

34 lines
1.2 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=5 format=3 uid="uid://iv8w7iisdqm0"]
[ext_resource type="Texture2D" uid="uid://c673bap4b12fx" path="res://icon.svg" id="1_i8uj5"]
[ext_resource type="Script" uid="uid://cega12j8xp7lx" path="res://_props/fragile_rock/fragile_rock.gd" id="1_tme8j"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_i8uj5"]
size = Vector2(48, 48)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_tme8j"]
size = Vector2(50, 50)
[node name="FragileRock" type="StaticBody2D" groups=["GRAPABLE"]]
collision_layer = 4
collision_mask = 6
script = ExtResource("1_tme8j")
break_groups = null
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(4.7683716e-07, -4.7683716e-07)
scale = Vector2(0.37499997, 0.37499997)
texture = ExtResource("1_i8uj5")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_i8uj5")
debug_color = Color(1, 0.24705882, 0.40784314, 0.41960785)
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_tme8j")
debug_color = Color(0.20694017, 0.5377888, 0.9240256, 0.41960785)