parent
69cb63ad89
commit
e8850ca7c5
|
After Width: | Height: | Size: 476 KiB |
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bgba1uv0muxat"
|
||||||
|
path="res://.godot/imported/chugeist_tmp.png-ff2e3a6be0ff4b186834b14d159443da.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/characters/chugeist_tmp.png"
|
||||||
|
dest_files=["res://.godot/imported/chugeist_tmp.png-ff2e3a6be0ff4b186834b14d159443da.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
@ -0,0 +1,65 @@
|
|||||||
|
[gd_scene load_steps=8 format=3 uid="uid://ddpl8cbck7e6s"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://d0kgxh4ykuv23" path="res://scripts/CSharp/Common/NPC/TalkingCharacter.cs" id="1_xix7p"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="2_udjjv"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bgba1uv0muxat" path="res://art/characters/chugeist_tmp.png" id="3_42og6"]
|
||||||
|
[ext_resource type="Script" uid="uid://d2486x6upmwqq" path="res://scripts/GdScript/dialogic_starter.gd" id="43_xooq4"]
|
||||||
|
[ext_resource type="Script" path="res://scripts/GdScript/dialogic_toggle.gd" id="44_v6w16"]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_at1n1"]
|
||||||
|
resource_local_to_scene = true
|
||||||
|
radius = 345.552
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_aqu1t"]
|
||||||
|
radius = 84.0
|
||||||
|
height = 168.0
|
||||||
|
|
||||||
|
[node name="Chuga" type="Node2D"]
|
||||||
|
editor_description = "This Scene seems a bit Chuga coated"
|
||||||
|
z_index = 1
|
||||||
|
y_sort_enabled = true
|
||||||
|
script = ExtResource("1_xix7p")
|
||||||
|
|
||||||
|
[node name="InteractionArea" parent="." instance=ExtResource("2_udjjv")]
|
||||||
|
position = Vector2(0, -450)
|
||||||
|
scale = Vector2(2.805, 2.805)
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" parent="InteractionArea/Area2D" index="0"]
|
||||||
|
position = Vector2(-4.99109, 63.4581)
|
||||||
|
shape = SubResource("CircleShape2D_at1n1")
|
||||||
|
|
||||||
|
[node name="Label" parent="InteractionArea" index="1"]
|
||||||
|
z_index = 5
|
||||||
|
custom_minimum_size = Vector2(10, 10)
|
||||||
|
offset_left = -131.194
|
||||||
|
offset_top = -157.219
|
||||||
|
offset_right = 115.806
|
||||||
|
offset_bottom = -54.2193
|
||||||
|
theme_override_font_sizes/font_size = 60
|
||||||
|
text = "[E] talk"
|
||||||
|
|
||||||
|
[node name="TalkingControl" type="Node2D" parent="."]
|
||||||
|
|
||||||
|
[node name="Visual" type="Sprite2D" parent="TalkingControl"]
|
||||||
|
position = Vector2(-39, -770)
|
||||||
|
scale = Vector2(1.81875, 1.81875)
|
||||||
|
texture = ExtResource("3_42og6")
|
||||||
|
|
||||||
|
[node name="Dialogic starter" type="Node2D" parent="."]
|
||||||
|
script = ExtResource("43_xooq4")
|
||||||
|
|
||||||
|
[node name="DialogicToggle" type="Node2D" parent="Dialogic starter"]
|
||||||
|
script = ExtResource("44_v6w16")
|
||||||
|
|
||||||
|
[node name="AnimatableBody2D" type="AnimatableBody2D" parent="."]
|
||||||
|
position = Vector2(0, -172)
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D"]
|
||||||
|
position = Vector2(0, 94)
|
||||||
|
shape = SubResource("CapsuleShape2D_aqu1t")
|
||||||
|
|
||||||
|
[connection signal="Talking" from="." to="Dialogic starter" method="open"]
|
||||||
|
[connection signal="Interacted" from="InteractionArea" to="." method="ToggleTalking"]
|
||||||
|
[connection signal="timelineEnded" from="Dialogic starter/DialogicToggle" to="." method="ToggleTalking"]
|
||||||
|
|
||||||
|
[editable path="InteractionArea"]
|
||||||
Loading…
Reference in new issue