mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
1a918a7a14
- Updated WaterBottle scene to change field values and costs, and modified avatar texture and display name. - Removed unused pencil SVG and its import files. - Updated Chomp sound effect with a new binary file. - Modified Diamond bullet behavior to improve tracing logic. - Increased rotation speed for Laser bullet. - Adjusted Chick and Hen character attack methods to generate bullets without returning prematurely. - Updated Rooster character to use PurpleCrystal bullet instead of Pencil. - Enhanced BulletBase with new properties for energy consumption and animation control. - Adjusted blend position interpolation in EntityBase for smoother movement. - Added new Star bullet with its scene and script, including animation setup. - Updated SVG and import files for new Star bullet graphics.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://bvri0nv1jrigf"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_3u4op"]
|
|
[ext_resource type="Shader" path="res://shaders/Laser.gdshader" id="2_h6cxi"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Laser.gd" id="2_yy5sr"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_yip5k"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5n8cv"]
|
|
shader = ExtResource("2_h6cxi")
|
|
shader_parameter/color = Color(0.654902, 1, 1, 1)
|
|
shader_parameter/laser_width = 0.01
|
|
shader_parameter/soft_edge = 0.5
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_y85id"]
|
|
height = 300.0
|
|
|
|
[node name="Laser" instance=ExtResource("1_3u4op")]
|
|
script = ExtResource("2_yy5sr")
|
|
fields = {
|
|
0: 10,
|
|
1: 15,
|
|
2: 1
|
|
}
|
|
lifeTime = 2000.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 = -10.0
|
|
offset_top = -300.0
|
|
offset_right = 10.0
|
|
|
|
[node name="hitbox" parent="." index="1"]
|
|
position = Vector2(150, 0)
|
|
rotation = 1.5708
|
|
shape = SubResource("CapsuleShape2D_y85id")
|