AprilGameExample/Scenes/crate.tscn

21 lines
876 B
Plaintext
Raw Permalink Normal View History

2026-04-28 01:08:43 +00:00
[gd_scene format=3 uid="uid://d16epxgmccvkp"]
[ext_resource type="Script" uid="uid://dayw2gghh8mym" path="res://Scripts/crate.gd" id="1_wp72f"]
[ext_resource type="Texture2D" uid="uid://csvda611l2cp2" path="res://assets/graphics/objects/crate.png" id="2_i4r3v"]
2026-04-28 01:08:43 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ebmjs"]
[node name="Crate" type="RigidBody2D" unique_id=1338541987 groups=["destructible"]]
script = ExtResource("1_wp72f")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1809235182]
shape = SubResource("RectangleShape2D_ebmjs")
debug_color = Color(0.8535397, 0.36730364, 0.11225829, 0.41960785)
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=863744160]
texture_filter = 1
position = Vector2(4.7683716e-07, 4.7683716e-07)
scale = Vector2(0.5, 0.5)
texture = ExtResource("2_i4r3v")