StreamOverlay/ChatAvatars/CatSlimes/chat_avatar.tscn

74 lines
3 KiB
Text
Raw Normal View History

2026-02-23 18:38:03 -06:00
[gd_scene format=3 uid="uid://cjlsmlgl6mrj6"]
[ext_resource type="Script" uid="uid://cxm4ihth7edjf" path="res://ChatAvatars/CatSlimes/chat_avatar.gd" id="1_86yba"]
[ext_resource type="SpriteFrames" uid="uid://brmqggg5n6xv0" path="res://ChatAvatars/CatSlimes/SpriteFrames/white.tres" id="2_nuq3b"]
[ext_resource type="Script" uid="uid://c16ty2yx4qkvu" path="res://lib/state_machine/state_machine.gd" id="3_3ai6g"]
[ext_resource type="Script" uid="uid://df4p557wb3wl4" path="res://ChatAvatars/CatSlimes/avatar_states/move.gd" id="4_ujwv6"]
[ext_resource type="Script" uid="uid://ce5u2o0ht5wxi" path="res://ChatAvatars/CatSlimes/avatar_states/born.gd" id="5_788d3"]
[ext_resource type="Script" uid="uid://c356g7uw5nbg5" path="res://ChatAvatars/CatSlimes/avatar_states/idle.gd" id="6_a8imr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lhkd0"]
size = Vector2(32, 32)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_a8imr"]
size = Vector2(91, 32)
[node name="ChatAvatar" type="CharacterBody2D" unique_id=2003733858]
collision_layer = 2
script = ExtResource("1_86yba")
skin = ExtResource("2_nuq3b")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=625632016]
shape = SubResource("RectangleShape2D_lhkd0")
[node name="Visual" type="AnimatedSprite2D" parent="." unique_id=1856553938]
unique_name_in_owner = true
sprite_frames = ExtResource("2_nuq3b")
animation = &"idle"
[node name="DisplayName" type="Label" parent="." unique_id=672943540]
unique_name_in_owner = true
custom_minimum_size = Vector2(32, 0)
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -45.5
offset_top = -43.5
offset_right = 45.5
offset_bottom = -20.5
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(50, 50)
size_flags_horizontal = 4
text = "Twitch User"
[node name="StateMachine" type="Node" parent="." unique_id=69244583 node_paths=PackedStringArray("initial_state")]
unique_name_in_owner = true
script = ExtResource("3_3ai6g")
initial_state = NodePath("Born")
metadata/_custom_type_script = "uid://c16ty2yx4qkvu"
[node name="Born" type="Node" parent="StateMachine" unique_id=1158159655 node_paths=PackedStringArray("chatter")]
script = ExtResource("5_788d3")
chatter = NodePath("../..")
metadata/_custom_type_script = "uid://ce5u2o0ht5wxi"
[node name="Move" type="Node" parent="StateMachine" unique_id=1366338787 node_paths=PackedStringArray("chatter")]
script = ExtResource("4_ujwv6")
chatter = NodePath("../..")
metadata/_custom_type_script = "uid://df4p557wb3wl4"
[node name="Idle" type="Node" parent="StateMachine" unique_id=1924231498 node_paths=PackedStringArray("chatter")]
script = ExtResource("6_a8imr")
chatter = NodePath("../..")
metadata/_custom_type_script = "uid://c356g7uw5nbg5"
[node name="Overlap" type="Area2D" parent="." unique_id=1254905420]
unique_name_in_owner = true
[node name="OverlapCollision" type="CollisionShape2D" parent="Overlap" unique_id=111157697]
unique_name_in_owner = true
shape = SubResource("RectangleShape2D_a8imr")