GMTK-2024/gmtk_2024/objects/ResizableBlock.tscn
2024-08-19 03:35:03 +02:00

15 lines
825 B
Text

[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"]
[node name="AnimatableBody2D" type="AnimatableBody2D"]
collision_mask = 54
input_pickable = true
script = ExtResource("1_ckiwc")
[node name="Sprite2D" type="Sprite2D" parent="."]
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)