1234567891011121314151617181920212223242526272829303132 |
- [gd_scene load_steps=6 format=3 uid="uid://cu7igcchdwu22"]
- [ext_resource type="Script" path="res://scenes/box/box.gd" id="1_8ms3o"]
- [ext_resource type="PackedScene" uid="uid://bwga8k8fxmfpk" path="res://scenes/color_body/color_body.tscn" id="3_5na8b"]
- [ext_resource type="Texture2D" uid="uid://cibn23j4hvtha" path="res://assets/box/base.svg" id="3_tklf1"]
- [ext_resource type="PackedScene" uid="uid://d216kyvf7xmb8" path="res://scenes/box/display/display.tscn" id="4_oc4bp"]
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_sfkx1"]
- size = Vector2(63, 63)
- [node name="Box" type="CharacterBody2D"]
- collision_layer = 2
- collision_mask = 3
- collision_priority = 2.0
- input_pickable = true
- safe_margin = 0.02
- script = ExtResource("1_8ms3o")
- metadata/_edit_group_ = true
- [node name="ColorBody" parent="." instance=ExtResource("3_5na8b")]
- [node name="Base" type="Sprite2D" parent="ColorBody"]
- scale = Vector2(0.25, 0.25)
- texture = ExtResource("3_tklf1")
- [node name="Display" parent="." instance=ExtResource("4_oc4bp")]
- [node name="CollisionPolygon2D" type="CollisionShape2D" parent="."]
- shape = SubResource("RectangleShape2D_sfkx1")
- [connection signal="input_event" from="." to="." method="_on_input_event"]
|