[gd_scene format=3 uid="uid://dsb83tlcapw8l"] [ext_resource type="Texture2D" uid="uid://by4iu18wmj6ui" path="res://Ninja Adventure - Asset Pack/Actor/Characters/NinjaBlue/SpriteSheet.png" id="1_3am0f"] [ext_resource type="Script" uid="uid://b54jmbhu1hrbt" path="res://Scenes/NPC/npc.gd" id="1_bjna2"] [ext_resource type="Texture2D" uid="uid://ctpnixa3dpms5" path="res://Ninja Adventure - Asset Pack/Ui/Dialog/DialogBoxFaceset.png" id="3_0s07e"] [ext_resource type="Texture2D" uid="uid://cn881vxquv6ub" path="res://Ninja Adventure - Asset Pack/Actor/Characters/NinjaBlue/Faceset.png" id="4_aqj1y"] [ext_resource type="AudioStream" uid="uid://q2f6qp5cd467" path="res://Ninja Adventure - Asset Pack/Sounds/Game/Voice1.wav" id="5_n8r46"] [ext_resource type="AudioStream" uid="uid://kxkws5kmf3ru" path="res://Ninja Adventure - Asset Pack/Sounds/Game/Voice4.wav" id="6_fqw72"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_chgu2"] size = Vector2(14, 13) [sub_resource type="AtlasTexture" id="AtlasTexture_chgu2"] atlas = ExtResource("1_3am0f") region = Rect2(0, 0, 16, 16) [sub_resource type="LabelSettings" id="LabelSettings_0s07e"] font_size = 48 font_color = Color(0, 0, 0, 1) [sub_resource type="LabelSettings" id="LabelSettings_chgu2"] font_size = 28 [node name="NPC" type="StaticBody2D" unique_id=687608910] process_mode = 3 script = ExtResource("1_bjna2") [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1581401512] position = Vector2(0, 0.5) shape = SubResource("RectangleShape2D_chgu2") [node name="Sprite2D" type="Sprite2D" parent="." unique_id=2127209036] texture = SubResource("AtlasTexture_chgu2") [node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1510478417] visible = false [node name="DialogBoxTexture" type="TextureRect" parent="CanvasLayer" unique_id=2039853714] offset_left = 428.0 offset_top = 498.0 offset_right = 728.0 offset_bottom = 556.0 offset_transform_enabled = true offset_transform_scale = Vector2(3.7, 3.7) texture = ExtResource("3_0s07e") [node name="NPCIcon" type="TextureRect" parent="CanvasLayer/DialogBoxTexture" unique_id=1385209557 groups=["interactable"]] layout_mode = 0 offset_left = 5.0 offset_top = 14.0 offset_right = 45.0 offset_bottom = 54.0 texture = ExtResource("4_aqj1y") [node name="DialogLabel" type="Label" parent="CanvasLayer" unique_id=439922902] offset_left = 208.0 offset_top = 472.0 offset_right = 1109.0 offset_bottom = 623.0 text = "Hello World!" label_settings = SubResource("LabelSettings_0s07e") autowrap_mode = 3 [node name="NameLabel" type="Label" parent="CanvasLayer" unique_id=1649543931] offset_left = 58.0 offset_top = 419.0 offset_right = 270.0 offset_bottom = 458.0 text = "Blue Ninja" label_settings = SubResource("LabelSettings_chgu2") [node name="Greeting" type="AudioStreamPlayer2D" parent="." unique_id=599558903] stream = ExtResource("5_n8r46") [node name="Goodbye" type="AudioStreamPlayer2D" parent="." unique_id=712774027] stream = ExtResource("6_fqw72")