1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/BigLaser.tscn
T
fallingshrimp 8e4b560e82 fix(UI): 修正能量显示格式和动画问题
修复能量标签显示格式从"%.1f"改为"%.2f"
调整BigLaser能量消耗从50改为100
修复ItemShow动画资源顺序错误问题
添加autoFree属性到UI场景中的物品节点
修改FieldShow默认文本从"+0"改为"0"
2025-08-28 07:01:18 +08:00

43 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 = 40.0
height = 1000.0
[node name="BigLaser" instance=ExtResource("1_cqnkd")]
script = ExtResource("2_oqfvl")
fields = {
0: 0,
1: 15,
2: 1
}
lifeTime = 5000.0
needEnergy = 100.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 = -40.0
offset_top = -1000.0
offset_right = 40.0
[node name="hitbox" parent="." index="1"]
position = Vector2(500, 0)
rotation = 1.5708
shape = SubResource("CapsuleShape2D_y85id")