20 lines
830 B
Plaintext
20 lines
830 B
Plaintext
[gd_scene format=3 uid="uid://b6cmg0k8qjoxi"]
|
|
|
|
[ext_resource type="Script" uid="uid://cxgsqwmbd0c8q" path="res://scripts/crate.gd" id="1_b66cd"]
|
|
[ext_resource type="Texture2D" uid="uid://2ovhbun1d00s" path="res://assets/destructibles/crate.png" id="2_dwt0d"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
|
|
|
|
[node name="Crate" type="RigidBody2D" unique_id=1609374030 groups=["shootable"]]
|
|
script = ExtResource("1_b66cd")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1887853406]
|
|
position = Vector2(0, 2)
|
|
scale = Vector2(0.08, 0.08)
|
|
texture = ExtResource("2_dwt0d")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1778772587]
|
|
shape = SubResource("RectangleShape2D_uwrxv")
|
|
debug_color = Color(0.83607924, 0.38220474, 0.18172199, 0.41960785)
|