1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

feat(武器系统): 添加鸡毛弓和箭矢资源及场景

添加鸡毛弓和箭矢的图片资源及对应的场景文件
调整火山子弹的特效参数
删除调试场景文件
This commit is contained in:
2025-11-16 16:50:20 +08:00
parent f2094a538d
commit 152f75d551
8 changed files with 114 additions and 35 deletions
+18
View File
@@ -0,0 +1,18 @@
[gd_scene load_steps=4 format=3 uid="uid://wy8wqwhwr4fb"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_0wuio"]
[ext_resource type="Texture2D" uid="uid://dadbn306owsy3" path="res://resources/bullets/arrow/arrow.png" id="2_b2ohg"]
[sub_resource type="CircleShape2D" id="CircleShape2D_b2ohg"]
[node name="Arrow" instance=ExtResource("1_0wuio")]
displayName = "鸡毛箭"
penerate = 1.0
[node name="static" type="Sprite2D" parent="texture" index="1"]
scale = Vector2(0.06775362, 0.06775362)
texture = ExtResource("2_b2ohg")
[node name="hitbox" parent="." index="1"]
position = Vector2(79, 2)
shape = SubResource("CircleShape2D_b2ohg")
+13
View File
@@ -0,0 +1,13 @@
[gd_scene load_steps=3 format=3 uid="uid://c2ga3ktbxdfc5"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_t0pyo"]
[ext_resource type="Texture2D" uid="uid://7us1po711e3o" path="res://resources/weapons/鸡毛弓.png" id="2_two1a"]
[node name="Bow" instance=ExtResource("1_t0pyo")]
[node name="static" type="Sprite2D" parent="texture" index="1"]
scale = Vector2(0.055427626, 0.055427626)
texture = ExtResource("2_two1a")
[node name="hitbox" parent="." index="1"]
disabled = true
+3 -4
View File
@@ -127,7 +127,7 @@ curve = SubResource("Curve_o5h0y")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_xrrxo"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(37, 1, 1)
emission_box_extents = Vector3(10, 1, 1)
angle_min = 1.0728835e-05
angle_max = 360.00003
angle_curve = SubResource("CurveTexture_6sp0s")
@@ -164,11 +164,10 @@ scale = Vector2(1.5, 1.5)
texture = ExtResource("2_wwxm2")
[node name="trail" type="GPUParticles2D" parent="texture/anchor/texture" index="0"]
z_index = -1
position = Vector2(7.3893127, -7.3893127)
position = Vector2(27.341467, -27.341467)
rotation = -0.7853982
scale = Vector2(0.9999999, 0.9999999)
amount = 100
amount = 200
process_material = SubResource("ParticleProcessMaterial_xrrxo")
[node name="hitbox" parent="." index="1"]
-31
View File
@@ -1,31 +0,0 @@
[gd_scene load_steps=7 format=3 uid="uid://bnf0o8rmin5v4"]
[ext_resource type="Shader" path="res://shaders/CooldownProgress.gdshader" id="1_vncc3"]
[ext_resource type="Texture2D" uid="uid://16yhngg3jpun" path="res://resources/weapons/purple-crystal.svg" id="2_gmp7s"]
[ext_resource type="Shader" path="res://shaders/Outline.gdshader" id="3_8bxlh"]
[ext_resource type="Texture2D" uid="uid://dkmxuxkwtgbjg" path="res://resources/characters/kernel/7C0F216A29125CA213705918760B1AAA.png" id="3_hridd"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_jyenr"]
shader = ExtResource("1_vncc3")
shader_parameter/progress = 0.5
shader_parameter/backAlpha = 0.25
shader_parameter/edgeHeight = 0.05
shader_parameter/trailHeight = 0.3
shader_parameter/trailAlpha = 0.5
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tnwho"]
shader = ExtResource("3_8bxlh")
shader_parameter/width = 10.0
shader_parameter/outline_color = Color(0.78125, 0, 1, 1)
[node name="Node2D" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_jyenr")
position = Vector2(-471, 117)
texture = ExtResource("2_gmp7s")
[node name="7c0f216a29125ca213705918760b1aaa" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_tnwho")
position = Vector2(503, 133)
texture = ExtResource("3_hridd")
Binary file not shown.

After

Width:  |  Height:  |  Size: 616 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dadbn306owsy3"
path="res://.godot/imported/arrow.png-b54a6f05a6e84314c90f6d7d851b5393.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/bullets/arrow/arrow.png"
dest_files=["res://.godot/imported/arrow.png-b54a6f05a6e84314c90f6d7d851b5393.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://7us1po711e3o"
path="res://.godot/imported/鸡毛弓.png-5547d6bef892fb57841ad8bfa4555738.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/weapons/鸡毛弓.png"
dest_files=["res://.godot/imported/鸡毛弓.png-5547d6bef892fb57841ad8bfa4555738.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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