Moved everything into a file system. Links broken.
This commit is contained in:
114
templates/speech_bubble.tscn
Normal file
114
templates/speech_bubble.tscn
Normal file
@@ -0,0 +1,114 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://jbqw0n6dlj08"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cbamfadh7wwr7" path="res://graphics/speech-blip.png" id="1_ra651"]
|
||||
[ext_resource type="Script" uid="uid://w57riwplc00t" path="res://scripts/speech_bubble.gd" id="2_n7y37"]
|
||||
[ext_resource type="Texture2D" uid="uid://chnk20ey5qxfh" path="res://graphics/speech-emojis.png" id="3_iafp4"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_bog1h"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D3:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D3:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_13vc8"]
|
||||
resource_name = "busy"
|
||||
length = 0.7000034
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D3:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 8, 9, 16, 17, 24, 25]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D3:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_lsinl"]
|
||||
resource_name = "talk"
|
||||
length = 0.40000334
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D3:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, -3)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite2D3:frame")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [2, 3, 10, 3, 2]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_uo85v"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_bog1h"),
|
||||
&"busy": SubResource("Animation_13vc8"),
|
||||
&"talk": SubResource("Animation_lsinl")
|
||||
}
|
||||
|
||||
[node name="SpeechBubble" type="Sprite2D"]
|
||||
visible = false
|
||||
position = Vector2(25, -26)
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("1_ra651")
|
||||
script = ExtResource("2_n7y37")
|
||||
|
||||
[node name="Sprite2D3" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("3_iafp4")
|
||||
hframes = 8
|
||||
vframes = 8
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_uo85v")
|
||||
}
|
||||
Reference in New Issue
Block a user