1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-22 03:22:30 +08:00

Add import configuration for Chomp.wav audio effect

This commit is contained in:
2025-08-27 10:23:57 +08:00
parent 5b2c2f5cf7
commit 730f732ef1
27 changed files with 387 additions and 73 deletions
+17 -15
View File
@@ -23,6 +23,21 @@ animations = [{
[sub_resource type="CircleShape2D" id="CircleShape2D_buhm1"]
radius = 40.0
[sub_resource type="Animation" id="Animation_sxh2u"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-1, 1)]
}
[sub_resource type="Animation" id="Animation_vxanw"]
resource_name = "left"
tracks/0/type = "value"
@@ -53,21 +68,6 @@ tracks/0/keys = {
"values": [Vector2(1, 1)]
}
[sub_resource type="Animation" id="Animation_sxh2u"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_daot2"]
_data = {
"RESET": SubResource("Animation_sxh2u"),
@@ -178,6 +178,8 @@ unique_name_in_owner = true
[node name="sprint" type="AudioStreamPlayer2D" parent="sounds"]
[node name="heal" type="AudioStreamPlayer2D" parent="sounds"]
[node name="miss" type="AudioStreamPlayer2D" parent="sounds"]
[node name="hurt" type="AudioStreamPlayer2D" parent="sounds"]
+1
View File
@@ -65,6 +65,7 @@ layout_mode = 2
[node name="costs" type="GridContainer" parent="container"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 10
theme_override_constants/h_separation = 10
theme_override_constants/v_separation = 10
columns = 2
+2 -2
View File
@@ -9,8 +9,8 @@ a = Vector2(0, -10)
[node name="FireScan" instance=ExtResource("1_cqre5")]
script = ExtResource("2_qprdp")
fields = {
0: 10,
1: 30,
0: 20,
1: 40,
2: 0
}
lifeDistance = 200.0
+2 -1
View File
@@ -36,8 +36,9 @@ cooldownUnit = 2000.0
displayName = "小鸡"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(10, 20), Vector2(7, 14)])
appleCount = Vector2i(2, 6)
[node name="hurt" parent="sounds" index="2"]
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_ik1xf")
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="4"]
+8 -8
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=3 uid="uid://bm7ymrri6pykb"]
[gd_scene load_steps=12 format=3 uid="uid://bm7ymrri6pykb"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
[ext_resource type="Script" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
@@ -6,6 +6,7 @@
[ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="3_4syso"]
[ext_resource type="Texture2D" uid="uid://ci2ik43ce82uy" path="res://resources/characters/cock/rooster-b.svg" id="3_b0fgx"]
[ext_resource type="AudioStream" uid="uid://cdrevrq7n6yqa" path="res://resources/sounds/effect/Boing.mp3" id="4_66s6c"]
[ext_resource type="AudioStream" uid="uid://benyec5bqni0b" path="res://resources/sounds/effect/Chomp.wav" id="4_k0yme"]
[ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
[ext_resource type="AudioStream" uid="uid://des7x0l4f3ijc" path="res://resources/sounds/effect/Low Boing.mp3" id="6_nmmw2"]
@@ -37,21 +38,20 @@ radius = 41.0122
[node name="Rooster" instance=ExtResource("1_e5pl8")]
script = ExtResource("2_oqdqd")
cooldownUnit = 200.0
inventory = {
0: 100,
1: 100
}
[node name="sprint" parent="sounds" index="0"]
stream = ExtResource("4_66s6c")
[node name="miss" parent="sounds" index="1"]
[node name="heal" parent="sounds" index="1"]
stream = ExtResource("4_k0yme")
[node name="miss" parent="sounds" index="2"]
stream = ExtResource("5_xnbhq")
[node name="hurt" parent="sounds" index="2"]
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("6_nmmw2")
[node name="attack0" parent="sounds" index="3"]
[node name="attack0" parent="sounds" index="4"]
stream = ExtResource("3_4syso")
[node name="texture" parent="." index="1"]
+3 -3
View File
@@ -6,10 +6,10 @@
[node name="Banana" instance=ExtResource("1_vapev")]
avatarTexture = ExtResource("2_2mlfi")
displayName = "香蕉"
fields = Array[int]([0, 3, 1])
fieldValues = Array[float]([10.0, 0.1, 0.1])
fields = Array[int]([0, 3])
fieldValues = Array[float]([10.0, 0.12])
costs = Array[int]([0, 1])
costCounts = Array[int]([10, 5])
costCounts = Array[int]([100, 55])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_2mlfi")
+19
View File
@@ -0,0 +1,19 @@
[gd_scene load_steps=4 format=3 uid="uid://dl34e70hpckp0"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_f2mv8"]
[ext_resource type="Texture2D" uid="uid://b7vxserbhskol" path="res://resources/feeds/banana.svg" id="2_1wmlm"]
[ext_resource type="Texture2D" uid="uid://bfioxi3ehf4kv" path="res://resources/feeds/cake-a.svg" id="2_ijk6h"]
[node name="Cake" instance=ExtResource("1_f2mv8")]
avatarTexture = ExtResource("2_ijk6h")
displayName = "生日蛋糕"
fields = Array[int]([4, 8])
fieldValues = Array[float]([0.06, 0.075])
costs = Array[int]([1])
costCounts = Array[int]([70])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_1wmlm")
[node name="name" parent="container/info" index="1"]
text = "[b]香蕉[/b]"
+19
View File
@@ -0,0 +1,19 @@
[gd_scene load_steps=3 format=3 uid="uid://dvl7u4jkugkhk"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_1jl1i"]
[ext_resource type="Texture2D" uid="uid://d3op67s1hysla" path="res://resources/feeds/cheesy puffs.png" id="2_p35iw"]
[node name="Puffs" instance=ExtResource("1_1jl1i")]
avatarTexture = ExtResource("2_p35iw")
displayName = "奶酪泡芙"
fields = Array[int]([10, 5, 13])
fieldValues = Array[float]([0.06, 0.12, 0.3])
costs = Array[int]([0, 1])
costCounts = Array[int]([250, 100])
metadata/_edit_lock_ = true
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_p35iw")
[node name="name" parent="container/info" index="1"]
text = "[b]奶酪泡芙[/b]"
@@ -1,8 +1,10 @@
[gd_scene load_steps=4 format=3 uid="uid://1n28ji5sl6bx"]
[gd_scene load_steps=6 format=3 uid="uid://1n28ji5sl6bx"]
[ext_resource type="PackedScene" uid="uid://d3qojeqa3difn" path="res://components/Abstracts/FullscreenPanelBase.tscn" id="1_1wmro"]
[ext_resource type="Script" path="res://scripts/Contents/Panels/MakeFeed.gd" id="2_pr610"]
[ext_resource type="PackedScene" uid="uid://btisbc7ehj4fo" path="res://components/Feeds/Banana.tscn" id="3_f2lyw"]
[ext_resource type="PackedScene" uid="uid://dl34e70hpckp0" path="res://components/Feeds/Cake.tscn" id="4_lykfv"]
[ext_resource type="PackedScene" uid="uid://dvl7u4jkugkhk" path="res://components/Feeds/Puffs.tscn" id="5_qnkr0"]
[node name="MakeFeed" instance=ExtResource("1_1wmro")]
script = ExtResource("2_pr610")
@@ -64,10 +66,7 @@ alignment = 1
unique_name_in_owner = true
[node name="Banana" parent="content/wrapper/avaliableFeeds" index="0" instance=ExtResource("3_f2lyw")]
visible = false
[node name="Banana2" parent="content/wrapper/avaliableFeeds" index="1" instance=ExtResource("3_f2lyw")]
visible = false
[node name="Cake" parent="content/wrapper/avaliableFeeds" index="1" instance=ExtResource("4_lykfv")]
[node name="Banana3" parent="content/wrapper/avaliableFeeds" index="2" instance=ExtResource("3_f2lyw")]
visible = false
[node name="Puffs" parent="content/wrapper/avaliableFeeds" index="2" instance=ExtResource("5_qnkr0")]
+5
View File
@@ -60,6 +60,11 @@ unique_name_in_owner = true
layout_mode = 2
type = 1
[node name="apple" parent="root/items/container" instance=ExtResource("3_o2oi4")]
unique_name_in_owner = true
layout_mode = 2
type = 2
[node name="panels" type="Control" parent="root"]
unique_name_in_owner = true
layout_mode = 1