20 lines
828 B
Plaintext
20 lines
828 B
Plaintext
[gd_scene format=3 uid="uid://b2rjhbe4f20hw"]
|
|
|
|
[ext_resource type="Script" uid="uid://uqo7d6vtae3w" path="res://scripts/crate.gd" id="1_b66cd"]
|
|
[ext_resource type="Texture2D" uid="uid://cpxe38xaahgyt" path="res://assets/destructibles/crate.png" id="2_dwt0d"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
|
|
|
|
[node name="Crate" type="RigidBody2D" unique_id=1451413033 groups=["shootable"]]
|
|
script = ExtResource("1_b66cd")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=112433967]
|
|
position = Vector2(0, 2)
|
|
scale = Vector2(0.07, 0.07)
|
|
texture = ExtResource("2_dwt0d")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=913096501]
|
|
shape = SubResource("RectangleShape2D_uwrxv")
|
|
debug_color = Color(0.80930483, 0.41273475, 0.03331322, 0.41960785)
|