添加榴弹发射器换弹音效,榴弹尾气效果
1 parent 9f2bb38 commit f23c2d66b5f54034d130c0c8cb4b711367db5020
@小李xl 小李xl authored on 7 Nov 2023
Showing 25 changed files
View
DungeonShooting_Godot/excel/excelFile/ActivityBase.xlsx
Not supported
View
DungeonShooting_Godot/excel/excelFile/ActivityMaterial.xlsx
Not supported
View
DungeonShooting_Godot/excel/excelFile/AiAttackAttr.xlsx
Not supported
View
DungeonShooting_Godot/excel/excelFile/BulletBase.xlsx
Not supported
View
DungeonShooting_Godot/excel/excelFile/Sound.xlsx
Not supported
View
DungeonShooting_Godot/excel/excelFile/WeaponBase.xlsx
Not supported
View
38
DungeonShooting_Godot/prefab/bullet/normal/Bullet0004.tscn
[gd_scene load_steps=7 format=3 uid="uid://d0h4xfi1oqf1l"]
[gd_scene load_steps=12 format=3 uid="uid://d0h4xfi1oqf1l"]
 
[ext_resource type="Script" path="res://src/game/activity/bullet/normal/BoomBullet.cs" id="1_1jbgr"]
[ext_resource type="Shader" path="res://resource/material/Blend.gdshader" id="2_w1qob"]
[ext_resource type="SpriteFrames" uid="uid://d3vma1qjo478l" path="res://resource/spriteFrames/bullet/Bullet0004.tres" id="3_bttus"]
[ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/sprite/effects/common/Smoke.png" id="3_ofn8c"]
 
[sub_resource type="ShaderMaterial" id="ShaderMaterial_v77gw"]
resource_local_to_scene = true
shader = ExtResource("2_w1qob")
shader_parameter/outline_use_blend = true
 
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c0onq"]
size = Vector2(4, 4)
 
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_chi2i"]
particles_animation = true
particles_anim_h_frames = 3
particles_anim_v_frames = 1
particles_anim_loop = false
 
[sub_resource type="Curve" id="Curve_dt320"]
_data = [Vector2(0, 0.730415), 0.0, 0.0, 0, 0, Vector2(0.245238, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.0235023), 0.0, 0.0, 0, 0]
point_count = 3
 
[sub_resource type="CurveTexture" id="CurveTexture_uftx4"]
curve = SubResource("Curve_dt320")
 
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_kelfq"]
lifetime_randomness = 0.7
particle_flag_disable_z = true
angle_max = 360.0
spread = 180.0
initial_velocity_min = 5.0
initial_velocity_max = 15.0
angular_velocity_max = 45.0
gravity = Vector3(0, 0, 0)
scale_min = 0.15
scale_max = 0.6
scale_curve = SubResource("CurveTexture_uftx4")
color = Color(0.619608, 0.619608, 0.619608, 1)
anim_offset_max = 1.0
 
[node name="Bullet0003" type="CharacterBody2D" node_paths=PackedStringArray("CollisionArea", "ShadowSprite", "AnimatedSprite", "Collision")]
collision_layer = 2
script = ExtResource("1_1jbgr")
[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatedSprite/CollisionArea"]
position = Vector2(1, 0)
shape = SubResource("RectangleShape2D_c0onq")
 
[node name="GPUParticles2D" type="GPUParticles2D" parent="AnimatedSprite"]
material = SubResource("CanvasItemMaterial_chi2i")
amount = 10
process_material = SubResource("ParticleProcessMaterial_kelfq")
texture = ExtResource("3_ofn8c")
lifetime = 0.5
 
[node name="Collision" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_c0onq")
View
4
DungeonShooting_Godot/prefab/weapon/Weapon0009.tscn
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.34, 0.4, 1.04, 1.1, 1.26, 1.5),
"times": PackedFloat32Array(0, 0.14, 0.2, 1.14, 1.2, 1.36, 1.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [0.0, -0.523599, 0.0, 0.0, -0.349066, -0.349066, 0.0]
}
tracks/2/path = NodePath("AnimatedSprite:frame")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.42, 0.44, 1.12, 1.14),
"times": PackedFloat32Array(0, 0.22, 0.24, 1.22, 1.24),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2, 3, 4]
}
View
18
DungeonShooting_Godot/resource/config/Sound.json
"Volume": 1,
"Remark": "\u9730\u5F39\u67AA\u5355\u72EC\u88C5\u5F39"
},
{
"Id": "reloading0003",
"Path": "res://resource/sound/sfx/reloading/Reloading0003.ogg",
"Volume": 1.2,
"Remark": "\u69B4\u5F39\u53D1\u5C04\u5668\u88C5\u5F39"
},
{
"Id": "reloadBegin0002",
"Path": "res://resource/sound/sfx/reloading/Reloading_begin0002.ogg",
"Volume": 1,
"Remark": "\u9730\u5F39\u67AA"
"Volume": 1,
"Remark": "\u6FC0\u5149\u6B66\u5668"
},
{
"Id": "reloadBegin0012",
"Path": "res://resource/sound/sfx/reloading/Reloading_begin0012.ogg",
"Volume": 1.2,
"Remark": ""
},
{
"Id": "reloadFinish0002",
"Path": "res://resource/sound/sfx/reloading/Reloading_finish0002.ogg",
"Volume": 1,
"Remark": "\u9730\u5F39\u67AA"
"Id": "reloadFinish0003",
"Path": "res://resource/sound/sfx/reloading/Reloading_finish0003.ogg",
"Volume": 1,
"Remark": "\u6FC0\u5149\u6B66\u5668"
},
{
"Id": "reloadFinish0004",
"Path": "res://resource/sound/sfx/reloading/Reloading_finish0004.ogg",
"Volume": 1.2,
"Remark": ""
},
{
"Id": "beLoaded0001",
"Path": "res://resource/sound/sfx/beLoaded/BeLoaded0001.ogg",
View
24
DungeonShooting_Godot/resource/config/WeaponBase.json
"MeleeAttackRepelRnage": [
100
],
"__ShootSound": "shooting0011",
"__BeginReloadSound": "",
"BeginReloadSoundDelayTime": 0,
"__ReloadSound": "",
"ReloadSoundDelayTime": 0,
"__ReloadFinishSound": "",
"ReloadFinishSoundAdvanceTime": 0,
"__BeginReloadSound": "reloadBegin0012",
"BeginReloadSoundDelayTime": 0.24,
"__ReloadSound": "reloading0003",
"ReloadSoundDelayTime": 0.8,
"__ReloadFinishSound": "reloadFinish0004",
"ReloadFinishSoundAdvanceTime": 0.26,
"__BeLoadedSound": "",
"BeLoadedSoundDelayTime": 0,
"__OtherSoundMap": null,
"__AiUseAttribute": "0018",
"MeleeAttackRepelRnage": [
100
],
"__ShootSound": "shooting0011",
"__BeginReloadSound": "",
"BeginReloadSoundDelayTime": 0,
"__ReloadSound": "",
"ReloadSoundDelayTime": 0,
"__ReloadFinishSound": "",
"ReloadFinishSoundAdvanceTime": 0,
"__BeginReloadSound": "reloadBegin0012",
"BeginReloadSoundDelayTime": 0.24,
"__ReloadSound": "reloading0003",
"ReloadSoundDelayTime": 0.8,
"__ReloadFinishSound": "reloadFinish0004",
"ReloadFinishSoundAdvanceTime": 0.26,
"__BeLoadedSound": "",
"BeLoadedSoundDelayTime": 0,
"__OtherSoundMap": null,
"__AiUseAttribute": "",
View
4
DungeonShooting_Godot/resource/map/tileMaps/GroupConfig.json
},
{
"ErrorType": 0,
"Path": "resource/map/tileMaps/TestGroup1/battle/Battle4"
},
{
"ErrorType": 0,
"Path": "resource/map/tileMaps/TestGroup1/battle/Battle5"
}
],
"InletList": [
{
View
DungeonShooting_Godot/resource/map/tileMaps/TestGroup1/battle/Battle5/Preinstall.json 0 → 100644
View
DungeonShooting_Godot/resource/map/tileMaps/TestGroup1/battle/Battle5/Preview.png 0 → 100644
View
DungeonShooting_Godot/resource/map/tileMaps/TestGroup1/battle/Battle5/Preview.png.import 0 → 100644
View
DungeonShooting_Godot/resource/map/tileMaps/TestGroup1/battle/Battle5/RoomInfo.json 0 → 100644
View
DungeonShooting_Godot/resource/map/tileMaps/TestGroup1/battle/Battle5/TileInfo.json 0 → 100644
View
DungeonShooting_Godot/resource/map/tileMaps/TestGroup1/inlet/Start2/Preinstall.json
View
DungeonShooting_Godot/resource/sound/sfx/reloading/Reloading0003.ogg 0 → 100644
Not supported
View
DungeonShooting_Godot/resource/sound/sfx/reloading/Reloading0003.ogg.import 0 → 100644
View
DungeonShooting_Godot/resource/sound/sfx/reloading/Reloading_begin0012.ogg 0 → 100644
Not supported
View
DungeonShooting_Godot/resource/sound/sfx/reloading/Reloading_begin0012.ogg.import 0 → 100644
View
DungeonShooting_Godot/resource/sound/sfx/reloading/Reloading_finish0004.ogg 0 → 100644
Not supported
View
DungeonShooting_Godot/resource/sound/sfx/reloading/Reloading_finish0004.ogg.import 0 → 100644
View
DungeonShooting_Godot/resource/sprite/effects/explode/Explode_pit0001.png
View
DungeonShooting_Godot/src/game/activity/weapon/Weapon.cs