july-game/scenes/crate.tscn

19 lines
757 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://by6fag0gnv0r4"]
[ext_resource type="Script" uid="uid://boay68qas1gpa" path="res://scripts/crate.gd" id="1_b66cd"]
[ext_resource type="Texture2D" uid="uid://c3iluf42c2v3r" path="res://assets/graphics/objects/crate.png" id="2_dwt0d"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
[node name="crate" type="RigidBody2D" groups=["shootable", "shovable"]]
script = ExtResource("1_b66cd")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_uwrxv")
debug_color = Color(0.841123, 0.368839, 0.275526, 0.42)
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.1, 0.1)
texture = ExtResource("2_dwt0d")