This commit is contained in:
Fabio 2024-08-19 03:35:03 +02:00
parent 6913816861
commit 91545bb037
5 changed files with 207 additions and 16 deletions

View file

@ -1,11 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://d0q0sfati8wk0"]
[gd_scene load_steps=3 format=3 uid="uid://d0q0sfati8wk0"]
[ext_resource type="Script" path="res://scripts/resizable_block.gd" id="1_ckiwc"]
[ext_resource type="Texture2D" uid="uid://bb8vdlgwpj8oc" path="res://textures/antivirus-block-big.png" id="2_i68dl"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6cdyn"]
size = Vector2(64, 61)
[node name="AnimatableBody2D" type="AnimatableBody2D"]
collision_mask = 54
input_pickable = true
@ -16,6 +13,3 @@ texture = ExtResource("2_i68dl")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(-32, -20, -28, -20, -28, -24, -24, -24, -24, -28, -20, -28, -20, -32, 20, -32, 20, -28, 24, -28, 24, -24, 28, -24, 28, -20, 32, -20, 32, 20, 28, 20, 28, 24, 24, 24, 24, 28, 20, 28, 20, 32, -20, 32, -20, 28, -24, 28, -24, 24, -28, 24, -28, 20, -32, 20)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_6cdyn")