mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
31426987a2
- 增加BigLaser的伤害值和能量消耗 - 为子弹添加击退效果和生成后自动释放功能 - 修改LaserPluse的动画参数并添加锁定发射器脚本 - 调整敌人受击时的能量获取和击退效果 - 更新波次生成配置
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://e7ci24ysgbyg"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_cqnkd"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Bullets/BigLaser.gd" id="2_oqfvl"]
|
|
[ext_resource type="Shader" path="res://shaders/Laser.gdshader" id="3_25t1x"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_yip5k"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5n8cv"]
|
|
shader = ExtResource("3_25t1x")
|
|
shader_parameter/color = Color(0.823162, 0.116294, 1.92523e-07, 1)
|
|
shader_parameter/laser_width = 0.01
|
|
shader_parameter/soft_edge = 0.5
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_y85id"]
|
|
radius = 60.0
|
|
height = 2000.0
|
|
|
|
[node name="BigLaser" instance=ExtResource("1_cqnkd")]
|
|
script = ExtResource("2_oqfvl")
|
|
fields = {
|
|
0: 0,
|
|
1: 25,
|
|
2: 1
|
|
}
|
|
lifeTime = 5000.0
|
|
needEnergy = 150.0
|
|
knockback = 10.0
|
|
|
|
[node name="texture" parent="." index="0"]
|
|
rotation = 1.5708
|
|
sprite_frames = SubResource("SpriteFrames_yip5k")
|
|
|
|
[node name="rect" type="ColorRect" parent="texture" index="0"]
|
|
material = SubResource("ShaderMaterial_5n8cv")
|
|
offset_left = -60.0
|
|
offset_top = -2000.0
|
|
offset_right = 60.0
|
|
|
|
[node name="hitbox" parent="." index="1"]
|
|
position = Vector2(1000, 0)
|
|
rotation = 1.5708
|
|
shape = SubResource("CapsuleShape2D_y85id")
|