Aprilgame/Scenes/crate.tscn

20 lines
822 B
Plaintext

[gd_scene format=3 uid="uid://bsroh4vsjwblh"]
[ext_resource type="Script" uid="uid://vwu0qtoxeqcn" path="res://Scripts/crate.gd" id="1_wp72f"]
[ext_resource type="Texture2D" uid="uid://cxc83adpu4bj" path="res://assets/graphics/Objects/Crate.png" id="2_i4r3v"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ebmjs"]
[node name="Crate" type="RigidBody2D" unique_id=2099388145 groups=["destructible"]]
rotation = -1.7350631
script = ExtResource("1_wp72f")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=414521394]
shape = SubResource("RectangleShape2D_ebmjs")
debug_color = Color(0.8238579, 0.39945692, 0.031017382, 0.41960785)
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1901832112]
texture_filter = 1
texture = ExtResource("2_i4r3v")