NovemberGodotGame/fabigame/scenes/box.tscn

20 lines
671 B
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=3 format=3 uid="uid://bw3gps1njvtgr"]
[ext_resource type="Texture2D" uid="uid://b74qeqtivdkpc" path="res://assets/graphics/crate.png" id="1_nsnd2"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ddwss"]
size = Vector2(26, 26)
[node name="RigidBody2D" type="RigidBody2D" groups=["box"]]
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_ddwss")
debug_color = Color(0.848428, 0.374869, 0, 0.42)
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(0, 2)
scale = Vector2(0.095, 0.095)
texture = ExtResource("1_nsnd2")