JulyGame/scenes/crate.tscn

21 lines
808 B
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://d0mw3eh00s3kr"]
[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"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
size = Vector2(22, 23)
[node name="Crate" type="RigidBody2D" groups=["pushables", "shootables"]]
script = ExtResource("1_j2btj")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." groups=["shootables"]]
position = Vector2(0, -1.5)
shape = SubResource("RectangleShape2D_uwrxv")
debug_color = Color(0.820447, 0.391315, 0.259417, 0.42)
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.08, 0.08)
texture = ExtResource("2_x3laa")