This commit is contained in:
Booklordofthedings 2024-08-18 12:14:27 +02:00
commit 9c73015b32
10 changed files with 115 additions and 26 deletions

View file

@ -0,0 +1,21 @@
[gd_scene load_steps=4 format=3 uid="uid://br6fngf5208j0"]
[ext_resource type="Texture2D" uid="uid://bplkveclkwuk" path="res://textures/block-big.png" id="1_ejp7j"]
[ext_resource type="Script" path="res://scripts/resizable_block.gd" id="1_j40bu"]
[sub_resource type="CircleShape2D" id="CircleShape2D_h0307"]
radius = 35.0143
[node name="Block" type="StaticBody2D"]
collision_layer = 17
collision_mask = 22
input_pickable = true
script = ExtResource("1_j40bu")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_ejp7j")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_h0307")
[connection signal="input_event" from="." to="." method="_on_input_event"]