mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-23 12:02:30 +08:00
feat: 添加SCBlock和Bengbeng子弹类型及相关资源
feat(角色): 为Kernyr和CyberCat添加新攻击类型 refactor(角色): 更新Kernyr角色贴图和显示名称 feat(关卡): 调整测试关卡配置和敌人波次 style: 更新子弹资源文件及导入配置
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
[gd_scene format=3 uid="uid://d0g631tqx6w5q"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_tgiid"]
|
||||
[ext_resource type="Script" uid="uid://ddgydi8qj3t40" path="res://scripts/Contents/Bullets/Bengbeng.gd" id="2_165xl"]
|
||||
[ext_resource type="Texture2D" uid="uid://ccsq5rjmm2wbs" path="res://resources/bullets/bengbeng/0.png" id="2_jylg3"]
|
||||
[ext_resource type="Shader" uid="uid://dfd73rom161o4" path="res://shaders/FilledRing.gdshader" id="5_txsro"]
|
||||
[ext_resource type="Script" uid="uid://cgb01lelfg73p" path="res://scripts/Statemachine/ShaderStage.gd" id="6_6g0ep"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1mqkh"]
|
||||
shader = ExtResource("5_txsro")
|
||||
shader_parameter/inner = 1.0
|
||||
shader_parameter/outer = 1.0
|
||||
shader_parameter/alpha = 1.0
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5xjim"]
|
||||
shader = ExtResource("5_txsro")
|
||||
shader_parameter/inner = 0.98
|
||||
shader_parameter/outer = 1.0
|
||||
shader_parameter/alpha = 0.1
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_q5lkk"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_jylg3")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_165xl"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position:y")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_of0mu"]
|
||||
resource_name = "destroy"
|
||||
length = 0.5
|
||||
step = 0.1
|
||||
|
||||
[sub_resource type="Animation" id="Animation_txsro"]
|
||||
resource_name = "loop"
|
||||
length = 0.88
|
||||
loop_mode = 1
|
||||
step = 0.01
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position:y")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(2, 0),
|
||||
"points": PackedFloat32Array(-45, 0, 0, 0, -40, -45, 0, -40, 0, 0),
|
||||
"times": PackedFloat32Array(0, 0.88)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_6g0ep"]
|
||||
resource_name = "spawn"
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1mqkh"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_165xl"),
|
||||
&"destroy": SubResource("Animation_of0mu"),
|
||||
&"loop": SubResource("Animation_txsro"),
|
||||
&"spawn": SubResource("Animation_6g0ep")
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_165xl"]
|
||||
radius = 334.14966
|
||||
|
||||
[node name="Bengbeng" unique_id=5571707 instance=ExtResource("1_tgiid")]
|
||||
script = ExtResource("2_165xl")
|
||||
displayName = "蹦蹦炸弹"
|
||||
speed = 4.0
|
||||
baseDamage = 30.0
|
||||
lifeTime = 10000.0
|
||||
autoLoopAnimation = true
|
||||
|
||||
[node name="warnbg" type="Node2D" parent="." index="0" unique_id=122409585]
|
||||
material = SubResource("ShaderMaterial_1mqkh")
|
||||
script = ExtResource("6_6g0ep")
|
||||
size = Vector2(250, 125)
|
||||
color = Color(0, 0, 0, 0.2)
|
||||
|
||||
[node name="warn" type="Node2D" parent="." index="1" unique_id=804964529]
|
||||
material = SubResource("ShaderMaterial_5xjim")
|
||||
script = ExtResource("6_6g0ep")
|
||||
size = Vector2(250, 125)
|
||||
color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="texture" parent="." index="2" unique_id=162977358]
|
||||
scale = Vector2(0.2, 0.2)
|
||||
sprite_frames = SubResource("SpriteFrames_q5lkk")
|
||||
|
||||
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
||||
libraries/ = SubResource("AnimationLibrary_1mqkh")
|
||||
|
||||
[node name="hitbox" parent="." index="3" unique_id=175349408]
|
||||
position = Vector2(0, -42)
|
||||
shape = SubResource("CircleShape2D_165xl")
|
||||
disabled = true
|
||||
@@ -0,0 +1,52 @@
|
||||
[gd_scene format=3 uid="uid://oq2j018das8d"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_ceess"]
|
||||
[ext_resource type="Texture2D" uid="uid://b84vn2kmvsrhm" path="res://resources/bullets/scblock/0.png" id="2_78ubb"]
|
||||
[ext_resource type="Script" uid="uid://cek16mji13xpe" path="res://scripts/Contents/Bullets/SCBlock.gd" id="2_brae2"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_brae2"]
|
||||
_data = [Vector2(0, 0.5), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_m2ljf"]
|
||||
curve = SubResource("Curve_brae2")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_m2ljf"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.7), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_bgwsv"]
|
||||
curve = SubResource("Curve_m2ljf")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_brae2"]
|
||||
particle_flag_disable_z = true
|
||||
direction = Vector3(-1, 0, 0)
|
||||
spread = 0.0
|
||||
initial_velocity_min = 500.0
|
||||
initial_velocity_max = 500.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_curve = SubResource("CurveTexture_bgwsv")
|
||||
alpha_curve = SubResource("CurveTexture_m2ljf")
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_brae2"]
|
||||
size = Vector2(120, 32)
|
||||
|
||||
[node name="SCBlock" unique_id=5571707 instance=ExtResource("1_ceess")]
|
||||
script = ExtResource("2_brae2")
|
||||
speed = 1.0
|
||||
baseDamage = 5.0
|
||||
lifeTime = 2000.0
|
||||
|
||||
[node name="static" type="Sprite2D" parent="texture" parent_id_path=PackedInt32Array(162977358) index="2" unique_id=1262983065]
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("2_78ubb")
|
||||
|
||||
[node name="trail" type="GPUParticles2D" parent="texture/static" index="0" unique_id=1828495322]
|
||||
z_index = -1
|
||||
amount = 7
|
||||
texture = ExtResource("2_78ubb")
|
||||
local_coords = true
|
||||
process_material = SubResource("ParticleProcessMaterial_brae2")
|
||||
|
||||
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
||||
shape = SubResource("RectangleShape2D_brae2")
|
||||
Reference in New Issue
Block a user