1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

Refactor and update various components and assets

- 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.
This commit is contained in:
2025-08-27 15:38:30 +08:00
parent 2e1d15a0a0
commit 1a918a7a14
22 changed files with 259 additions and 93 deletions
+24
View File
@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bwq6pb7fhn4hw"
path="res://.godot/imported/Chomp.wav-7095f250875916c0d559e91887d7fc79.sample"
[deps]
source_file="res://resources/bullets/pencil/Chomp.wav"
dest_files=["res://.godot/imported/Chomp.wav-7095f250875916c0d559e91887d7fc79.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dnpqfqfg6dwt4"
path="res://.godot/imported/pencil-a.svg-280308b2cbe43bf6b55157df2b4e5c5f.ctex"
path="res://.godot/imported/pencil-a.svg-96396af0fe49ebefbf40b2464d79c347.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/bullets/pencil/pencil-a.svg"
dest_files=["res://.godot/imported/pencil-a.svg-280308b2cbe43bf6b55157df2b4e5c5f.ctex"]
source_file="res://resources/bullets/pencil/frames/pencil-a.svg"
dest_files=["res://.godot/imported/pencil-a.svg-96396af0fe49ebefbf40b2464d79c347.ctex"]
[params]
+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="46.57026815414429" height="45.66248083114624" viewBox="-0.4356868267059326 -0.33834052085876465 46.57026815414429 45.66248083114624">
<!-- Exported by Scratch - http://scratch.mit.edu/ -->
<g id="ID0.4861416635103524">
<path id="Star" fill="#FFFF00" stroke="#000000" stroke-width="1.2878577709197998" d="M 34.2454 43.7816 C 30.9614 45.7649 21.3128 35.5135 21.3128 35.5135 C 21.3128 35.5135 10.0698 43.9954 7.1669 41.484 C 4.2615 38.9727 11.0331 26.6247 11.0331 26.6247 C 11.0331 26.6247 -0.5061 18.5524 0.9852 15.016 C 2.4765 11.4769 16.3107 14.1016 16.3107 14.1016 C 16.3107 14.1016 20.419 0.6332 24.2439 0.9552 C 28.074 1.2797 29.8538 15.2504 29.8538 15.2504 C 29.8538 15.2504 43.9327 14.9954 44.8033 18.7353 C 45.6816 22.4727 32.9447 28.4844 32.9447 28.4844 C 32.9447 28.4844 37.5372 41.7983 34.2454 43.7816 Z "/>
<path id="Star_1_" fill="#FFFFFF" d="M 27.8499 34.0119 C 26.1963 35.0087 21.3462 29.8547 21.3462 29.8547 C 21.3462 29.8547 15.6977 34.1175 14.2398 32.8554 C 12.782 31.5933 16.1819 25.391 16.1819 25.391 C 16.1819 25.391 10.3866 21.3316 11.1335 19.557 C 11.8831 17.7797 18.8323 19.0985 18.8323 19.0985 C 18.8323 19.0985 20.8981 12.3295 22.8221 12.4944 C 24.7436 12.6566 25.6348 19.6755 25.6348 19.6755 C 25.6348 19.6755 32.7129 19.5492 33.1507 21.4269 C 33.5938 23.3072 27.1957 26.3259 27.1957 26.3259 C 27.1957 26.3259 29.4984 33.0151 27.8499 34.0119 Z " stroke-width="2.5757155418395996"/>
</g>
</svg><!--rotationCenter:22:23-->

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csdjmin6g22sw"
path="res://.godot/imported/star.svg-436a9060c4ccdd062ecebfeda31fc179.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/bullets/star/frames/star.svg"
dest_files=["res://.godot/imported/star.svg-436a9060c4ccdd062ecebfeda31fc179.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false