弓, 制作中
1 parent bd611b2 commit 5202aae08da0a0a73df6a4834b2141c554e06639
@小李xl 小李xl authored on 4 Feb 2024
Showing 24 changed files
View
DungeonShooting_Godot/excel/ActivityBase.xlsx
Not supported
View
DungeonShooting_Godot/excel/BulletBase.xlsx
Not supported
View
DungeonShooting_Godot/excel/WeaponBase.xlsx
Not supported
View
66
DungeonShooting_Godot/prefab/bullet/normal/Bullet0009.tscn 0 → 100644
[gd_scene load_steps=8 format=3 uid="uid://c4puxmnan51ds"]
 
[ext_resource type="Script" path="res://src/game/activity/bullet/normal/Bullet.cs" id="1_dmdyg"]
[ext_resource type="Shader" path="res://resource/material/Blend.gdshader" id="2_tscmb"]
[ext_resource type="SpriteFrames" uid="uid://cyg3uvbakan08" path="res://resource/spriteFrames/bullet/Bullet0009.tres" id="3_l58ff"]
 
[sub_resource type="ShaderMaterial" id="ShaderMaterial_v77gw"]
resource_local_to_scene = true
shader = ExtResource("2_tscmb")
shader_parameter/blend = Color(0, 0, 0, 0.470588)
shader_parameter/schedule = 1.0
shader_parameter/modulate = Color(1, 1, 1, 1)
shader_parameter/show_outline = false
shader_parameter/outline_color = Color(0, 0, 0, 1)
shader_parameter/outline_rainbow = false
shader_parameter/outline_use_blend = true
shader_parameter/grey = 0.0
 
[sub_resource type="ShaderMaterial" id="ShaderMaterial_jypdq"]
resource_local_to_scene = true
shader = ExtResource("2_tscmb")
shader_parameter/blend = Color(1, 1, 1, 1)
shader_parameter/schedule = 0.0
shader_parameter/modulate = Color(1, 1, 1, 1)
shader_parameter/show_outline = false
shader_parameter/outline_color = Color(0, 0, 0, 1)
shader_parameter/outline_rainbow = false
shader_parameter/outline_use_blend = false
shader_parameter/grey = 0.0
 
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5x14b"]
size = Vector2(26, 3)
 
[sub_resource type="RectangleShape2D" id="RectangleShape2D_72d75"]
size = Vector2(26, 3)
 
[node name="Bullet0009" type="CharacterBody2D" node_paths=PackedStringArray("CollisionArea", "CollisionShape2D", "Particles2D", "ShadowSprite", "AnimatedSprite", "Collision")]
collision_layer = 2
collision_mask = 0
script = ExtResource("1_dmdyg")
CollisionArea = NodePath("AnimatedSprite/CollisionArea")
CollisionShape2D = NodePath("AnimatedSprite/CollisionArea/CollisionShape2D")
Particles2D = []
ShadowSprite = NodePath("ShadowSprite")
AnimatedSprite = NodePath("AnimatedSprite")
Collision = NodePath("Collision")
 
[node name="ShadowSprite" type="Sprite2D" parent="."]
z_index = -1
material = SubResource("ShaderMaterial_v77gw")
 
[node name="AnimatedSprite" type="AnimatedSprite2D" parent="."]
material = SubResource("ShaderMaterial_jypdq")
sprite_frames = ExtResource("3_l58ff")
 
[node name="CollisionArea" type="Area2D" parent="AnimatedSprite"]
collision_layer = 0
collision_mask = 0
monitorable = false
 
[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatedSprite/CollisionArea"]
shape = SubResource("RectangleShape2D_5x14b")
 
[node name="Collision" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_72d75")
View
253
DungeonShooting_Godot/prefab/weapon/Weapon0016.tscn
[gd_scene load_steps=8 format=3 uid="uid://b7s3fvpkltk1d"]
[gd_scene load_steps=11 format=3 uid="uid://b7s3fvpkltk1d"]
 
[ext_resource type="PackedScene" uid="uid://cxltmhhp4rbyk" path="res://prefab/weapon/WeaponTemplate.tscn" id="1_af50b"]
[ext_resource type="Script" path="res://src/game/activity/weapon/gun/Gun.cs" id="2_01rgi"]
[ext_resource type="Script" path="res://src/game/activity/weapon/bow/Bow.cs" id="1_k4gvs"]
[ext_resource type="Shader" path="res://resource/material/Blend.gdshader" id="3_cui8l"]
[ext_resource type="SpriteFrames" uid="uid://taxfr2lcy0f3" path="res://resource/spriteFrames/weapon/Weapon0014.tres" id="4_h5mn6"]
[ext_resource type="SpriteFrames" uid="uid://ccrflh6pjmq7r" path="res://resource/spriteFrames/weapon/Weapon0016.tres" id="4_buwa4"]
[ext_resource type="Animation" uid="uid://v3dltmdstqad" path="res://resource/animation/weapon/Weapon_floodlight.res" id="4_nl06y"]
 
[sub_resource type="ShaderMaterial" id="ShaderMaterial_sy2aq"]
resource_local_to_scene = true
shader = ExtResource("3_cui8l")
shader_parameter/outline_use_blend = true
shader_parameter/grey = 0.0
 
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4pn1i"]
size = Vector2(10.75, 7.75)
size = Vector2(10.1875, 15.9375)
 
[node name="Weapon0014" node_paths=PackedStringArray("FirePoint", "ShellPoint", "AnimationPlayer", "ShadowSprite", "AnimatedSprite", "Collision") instance=ExtResource("1_af50b")]
script = ExtResource("2_01rgi")
[sub_resource type="Animation" id="Animation_x136i"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatedSprite:material:shader_parameter/schedule")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AnimatedSprite:animation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [&"pull_frame"]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("AnimatedSprite:frame")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("AnimatedSprite/ArrowPoint:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(8, 0)]
}
 
[sub_resource type="Animation" id="Animation_njx7h"]
resource_name = "pull"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatedSprite:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [&"pull_frame"]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AnimatedSprite:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0, 10]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("AnimatedSprite/ArrowPoint:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(8, 0), Vector2(-3, 0)]
}
 
[sub_resource type="AnimationLibrary" id="AnimationLibrary_trkjd"]
_data = {
"RESET": SubResource("Animation_x136i"),
"floodlight": ExtResource("4_nl06y"),
"pull": SubResource("Animation_njx7h")
}
 
[node name="Weapon0016" type="CharacterBody2D" node_paths=PackedStringArray("ArrowPoint", "FirePoint", "ShellPoint", "AnimationPlayer", "ShadowSprite", "AnimatedSprite", "Collision")]
collision_layer = 4
script = ExtResource("1_k4gvs")
ArrowPoint = NodePath("AnimatedSprite/ArrowPoint")
FirePoint = NodePath("AnimatedSprite/FirePoint")
ShellPoint = NodePath("AnimatedSprite/ShellPoint")
AnimationPlayer = NodePath("AnimationPlayer")
ShadowSprite = NodePath("ShadowSprite")
AnimatedSprite = NodePath("AnimatedSprite")
Collision = NodePath("Collision")
 
[node name="ShadowSprite" parent="." index="0"]
[node name="ShadowSprite" type="Sprite2D" parent="."]
z_index = -1
material = SubResource("ShaderMaterial_sy2aq")
 
[node name="AnimatedSprite" parent="." index="1"]
[node name="AnimatedSprite" type="AnimatedSprite2D" parent="."]
material = SubResource("ShaderMaterial_x2qcg")
position = Vector2(4, 0)
sprite_frames = ExtResource("4_h5mn6")
position = Vector2(6, -2)
sprite_frames = ExtResource("4_buwa4")
animation = &"pull_frame"
 
[node name="ShellPoint" parent="AnimatedSprite" index="0"]
position = Vector2(-3, -2)
[node name="ShellPoint" type="Marker2D" parent="AnimatedSprite"]
 
[node name="FirePoint" parent="AnimatedSprite" index="1"]
position = Vector2(9, -2)
[node name="FirePoint" type="Marker2D" parent="AnimatedSprite"]
position = Vector2(9, 0)
 
[node name="Collision" parent="." index="2"]
visible = true
position = Vector2(4, 0)
[node name="ArrowPoint" type="Marker2D" parent="AnimatedSprite"]
position = Vector2(8, 0)
 
[node name="Collision" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(1, 0)
shape = SubResource("RectangleShape2D_4pn1i")
 
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_trkjd")
}
View
DungeonShooting_Godot/resource/config/ActivityBase.json
View
DungeonShooting_Godot/resource/config/BulletBase.json
View
DungeonShooting_Godot/resource/config/WeaponBase.json
View
DungeonShooting_Godot/resource/map/tileMaps/Test1/inlet/Start/Preinstall.json
View
DungeonShooting_Godot/resource/sprite/bullet/normal/arrow.png 100644 → 0
View
DungeonShooting_Godot/resource/sprite/bullet/normal/arrow.png.import 100644 → 0
View
DungeonShooting_Godot/resource/sprite/bullet/normal/bullet0009.png 0 → 100644
View
DungeonShooting_Godot/resource/sprite/bullet/normal/bullet0009.png.import 0 → 100644
View
DungeonShooting_Godot/resource/spriteFrames/bullet/Bullet0009.tres 0 → 100644
View
DungeonShooting_Godot/resource/spriteFrames/weapon/Weapon0016.tres 0 → 100644
View
DungeonShooting_Godot/src/config/ExcelConfig_WeaponBase.cs
View
DungeonShooting_Godot/src/framework/activity/ActivityObject_Init.cs
View
DungeonShooting_Godot/src/game/activity/bullet/normal/Bullet.cs
View
DungeonShooting_Godot/src/game/activity/weapon/Weapon.cs
View
DungeonShooting_Godot/src/game/activity/weapon/bow/Bow.cs 0 → 100644
View
DungeonShooting_Godot/src/game/camera/GameCamera.cs
View
DungeonShooting_Godot/src/game/data/property/AnimatorNames.cs
View
DungeonShooting_Godot/src/game/manager/ResourcePath.cs
View
DungeonShooting_Godot/src/game/ui/roomUI/ReloadBarHandler.cs