[gd_scene load_steps=6 format=3 uid="uid://val123456789"] [ext_resource type="Script" path="res://scripts/val.gd" id="1_val"] [sub_resource type="SpriteFrames" id="SpriteFrames_val"] animations = [{ "frames": [], "loop": true, "name": &"idle", "speed": 1.0 }, { "frames": [], "loop": true, "name": &"walk", "speed": 5.0 }, { "frames": [], "loop": true, "name": &"interact", "speed": 1.0 }, { "frames": [], "loop": true, "name": &"think", "speed": 2.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_16"] radius = 16.0 [sub_resource type="RectangleShape2D" id="RectangleShape2D_body"] size = Vector2(24, 32) [node name="Val" type="CharacterBody2D"] script = ExtResource("1_val") [node name="BodyPlaceholder" type="ColorRect" parent="."] offset_left = -12.0 offset_top = -32.0 offset_right = 12.0 offset_bottom = 0.0 color = Color(0.36, 0.61, 0.84, 1) [node name="HeadPlaceholder" type="ColorRect" parent="."] offset_left = -10.0 offset_top = -52.0 offset_right = 10.0 offset_bottom = -32.0 color = Color(0.36, 0.61, 0.84, 1) [node name="EyeLeft" type="ColorRect" parent="."] offset_left = -6.0 offset_top = -48.0 offset_right = -2.0 offset_bottom = -44.0 color = Color(1, 1, 1, 1) [node name="EyeRight" type="ColorRect" parent="."] offset_left = 2.0 offset_top = -48.0 offset_right = 6.0 offset_bottom = -44.0 color = Color(1, 1, 1, 1) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -16) shape = SubResource("RectangleShape2D_body") [node name="NavigationAgent2D" type="NavigationAgent2D" parent="."] path_desired_distance = 10.0 navigation_layers = 1 [node name="ThoughtBubble" type="Label" parent="."] offset_left = -60.0 offset_top = -70.0 offset_right = 60.0 offset_bottom = -40.0 theme_override_font_sizes/font_size = 12 text = "..." horizontal_alignment = 1 autowrap_mode = 2 [node name="StateIndicator" type="Label" parent="."] offset_left = -30.0 offset_top = 4.0 offset_right = 30.0 offset_bottom = 24.0 theme_override_font_sizes/font_size = 10 text = "idle" horizontal_alignment = 1 [node name="InteractionTimer" type="Timer" parent="."] one_shot = true [node name="ThinkTimer" type="Timer" parent="."] one_shot = true