GodotCourse/week3/updated_project/scenes/crate.tscn

19 lines
652 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://ukuu7p7vhlq"]
[ext_resource type="Texture2D" uid="uid://ddxm7hj323fta" path="res://graphics/items/cannister.png" id="1_oikxn"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_iuom5"]
size = Vector2(16, 16)
[node name="RigidBody2D" type="RigidBody2D" groups=["boxes"]]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(0, -3)
scale = Vector2(0.625, 0.625)
texture = ExtResource("1_oikxn")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_iuom5")
debug_color = Color(0.815686, 0.4, 0.207843, 0.419608)