2025-08-26 01:09:22 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://d0mw3eh00s3kr"]
|
2025-08-12 01:08:57 +00:00
|
|
|
|
2025-08-26 01:09:22 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/crate.gd" id="1_j2btj"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bvm82m176wflv" path="res://assets/graphics/objects/crate.png" id="2_x3laa"]
|
2025-08-12 01:08:57 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
|
2025-08-26 01:09:22 +00:00
|
|
|
size = Vector2(22, 23)
|
2025-08-12 01:08:57 +00:00
|
|
|
|
|
|
|
[node name="Crate" type="RigidBody2D" groups=["pushables", "shootables"]]
|
|
|
|
script = ExtResource("1_j2btj")
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
2025-08-26 01:09:22 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." groups=["shootables"]]
|
|
|
|
position = Vector2(0, -1.5)
|
2025-08-12 01:08:57 +00:00
|
|
|
shape = SubResource("RectangleShape2D_uwrxv")
|
|
|
|
debug_color = Color(0.820447, 0.391315, 0.259417, 0.42)
|
2025-08-26 01:09:22 +00:00
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
scale = Vector2(0.08, 0.08)
|
|
|
|
texture = ExtResource("2_x3laa")
|