21 lines
750 B
Text
21 lines
750 B
Text
[gd_scene load_steps=4 format=3 uid="uid://0jn86aogkcne"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/resizable_block.gd" id="1_bulc3"]
|
|
[ext_resource type="Texture2D" uid="uid://dyl3dsoub6pmu" path="res://textures/block-small.png" id="2_42gyy"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vlk61"]
|
|
size = Vector2(30, 30)
|
|
|
|
[node name="Block" type="StaticBody2D"]
|
|
collision_layer = 17
|
|
collision_mask = 22
|
|
input_pickable = true
|
|
script = ExtResource("1_bulc3")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_42gyy")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_vlk61")
|
|
|
|
[connection signal="input_event" from="." to="." method="_on_input_event"]
|