diff --git a/components/Bullets/InfinitySword.tscn b/components/Bullets/InfinitySword.tscn new file mode 100644 index 0000000..cdb5c35 --- /dev/null +++ b/components/Bullets/InfinitySword.tscn @@ -0,0 +1,53 @@ +[gd_scene format=3 uid="uid://x1xi4efivpwj"] + +[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_na6tw"] +[ext_resource type="Script" uid="uid://b7vswg8ju8a0u" path="res://scripts/Contents/Bullets/InfinitySword.gd" id="2_nbqhn"] +[ext_resource type="Texture2D" uid="uid://dbltogf6kgtic" path="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png" id="2_v6780"] +[ext_resource type="Texture2D" uid="uid://bp687pj8b7wv0" path="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png" id="3_nbqhn"] +[ext_resource type="Texture2D" uid="uid://btam58pjvht66" path="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png" id="4_d85mn"] +[ext_resource type="Texture2D" uid="uid://cpaqjor8cb8gb" path="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png" id="5_6n88i"] +[ext_resource type="Texture2D" uid="uid://ckmkpkkxpui3b" path="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png" id="6_bk7mn"] +[ext_resource type="Texture2D" uid="uid://fewvfwxtw5bu" path="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png" id="7_3cvbl"] + +[sub_resource type="SpriteFrames" id="SpriteFrames_c741v"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("2_v6780") +}, { +"duration": 1.0, +"texture": ExtResource("3_nbqhn") +}, { +"duration": 1.0, +"texture": ExtResource("4_d85mn") +}, { +"duration": 1.0, +"texture": ExtResource("5_6n88i") +}, { +"duration": 1.0, +"texture": ExtResource("6_bk7mn") +}, { +"duration": 1.0, +"texture": ExtResource("7_3cvbl") +}], +"loop": false, +"name": &"default", +"speed": 15.0 +}] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_v6780"] +radius = 124.0 +height = 580.0 + +[node name="InfinitySword" unique_id=2133299016 instance=ExtResource("1_na6tw")] +script = ExtResource("2_nbqhn") +autoPlayTexture = true + +[node name="texture" parent="." index="0"] +rotation = 2.9485245 +scale = Vector2(0.5, 0.5) +sprite_frames = SubResource("SpriteFrames_c741v") +frame = 1 + +[node name="hitbox" parent="." index="1"] +shape = SubResource("CapsuleShape2D_v6780") diff --git a/components/Bullets/Wuwei.tscn b/components/Bullets/Wuwei.tscn index 3ee0441..f3039f7 100644 --- a/components/Bullets/Wuwei.tscn +++ b/components/Bullets/Wuwei.tscn @@ -2,6 +2,7 @@ [ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_eg848"] [ext_resource type="Texture2D" uid="uid://d1ismqrlhbv7f" path="res://resources/bullets/wuwei/Wuwei.png" id="2_6ny68"] +[ext_resource type="Script" uid="uid://dxgplcmmg0dgi" path="res://scripts/Contents/Bullets/Wuwei.gd" id="2_vxgkj"] [sub_resource type="Animation" id="Animation_6ny68"] length = 0.001 @@ -117,6 +118,7 @@ radius = 55.20601 height = 389.01526 [node name="Wuwei" unique_id=326826451 instance=ExtResource("1_eg848")] +script = ExtResource("2_vxgkj") [node name="animator" parent="texture" index="0"] libraries/ = SubResource("AnimationLibrary_57ptn") diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png b/resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png new file mode 100644 index 0000000..f17b245 Binary files /dev/null and b/resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png differ diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png.import b/resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png.import new file mode 100644 index 0000000..ec93337 --- /dev/null +++ b/resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://fewvfwxtw5bu" +path="res://.godot/imported/Effect_DangerJumpSlash10.png-911548dab77be07041690322539dc227.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash10.png" +dest_files=["res://.godot/imported/Effect_DangerJumpSlash10.png-911548dab77be07041690322539dc227.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png b/resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png new file mode 100644 index 0000000..ebe0d44 Binary files /dev/null and b/resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png differ diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png.import b/resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png.import new file mode 100644 index 0000000..10a043e --- /dev/null +++ b/resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dbltogf6kgtic" +path="res://.godot/imported/Effect_DangerJumpSlash5.png-a382b14b3401c9bbef01f15905595614.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash5.png" +dest_files=["res://.godot/imported/Effect_DangerJumpSlash5.png-a382b14b3401c9bbef01f15905595614.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png b/resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png new file mode 100644 index 0000000..1ac61dc Binary files /dev/null and b/resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png differ diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png.import b/resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png.import new file mode 100644 index 0000000..c47aaef --- /dev/null +++ b/resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bp687pj8b7wv0" +path="res://.godot/imported/Effect_DangerJumpSlash6.png-7b571ef16ce3d1e54c667af0868d2b8f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash6.png" +dest_files=["res://.godot/imported/Effect_DangerJumpSlash6.png-7b571ef16ce3d1e54c667af0868d2b8f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png b/resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png new file mode 100644 index 0000000..85afe6b Binary files /dev/null and b/resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png differ diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png.import b/resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png.import new file mode 100644 index 0000000..cff5efb --- /dev/null +++ b/resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btam58pjvht66" +path="res://.godot/imported/Effect_DangerJumpSlash7.png-5fa0599af9535cd53a3fc227b6dc414a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash7.png" +dest_files=["res://.godot/imported/Effect_DangerJumpSlash7.png-5fa0599af9535cd53a3fc227b6dc414a.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png b/resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png new file mode 100644 index 0000000..f847239 Binary files /dev/null and b/resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png differ diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png.import b/resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png.import new file mode 100644 index 0000000..509faae --- /dev/null +++ b/resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cpaqjor8cb8gb" +path="res://.godot/imported/Effect_DangerJumpSlash8.png-50638c0e1d24939a8bc03f0af77fc5aa.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash8.png" +dest_files=["res://.godot/imported/Effect_DangerJumpSlash8.png-50638c0e1d24939a8bc03f0af77fc5aa.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png b/resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png new file mode 100644 index 0000000..e4570c3 Binary files /dev/null and b/resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png differ diff --git a/resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png.import b/resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png.import new file mode 100644 index 0000000..fb0bc88 --- /dev/null +++ b/resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ckmkpkkxpui3b" +path="res://.godot/imported/Effect_DangerJumpSlash9.png-dfa5d80c31f4444bbfff8b8fb3b8c7d4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/bullets/infinity-sword/Effect_DangerJumpSlash9.png" +dest_files=["res://.godot/imported/Effect_DangerJumpSlash9.png-dfa5d80c31f4444bbfff8b8fb3b8c7d4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/scripts/Contents/Bullets/InfinitySword.gd b/scripts/Contents/Bullets/InfinitySword.gd new file mode 100644 index 0000000..b8750f5 --- /dev/null +++ b/scripts/Contents/Bullets/InfinitySword.gd @@ -0,0 +1,5 @@ +extends BulletBase +class_name InfinitySwordBullet + +func ai(): + PresetBulletAI.forward(self , rotation) diff --git a/scripts/Contents/Bullets/InfinitySword.gd.uid b/scripts/Contents/Bullets/InfinitySword.gd.uid new file mode 100644 index 0000000..fa5435d --- /dev/null +++ b/scripts/Contents/Bullets/InfinitySword.gd.uid @@ -0,0 +1 @@ +uid://b7vswg8ju8a0u diff --git a/scripts/Contents/Bullets/Wuwei.gd b/scripts/Contents/Bullets/Wuwei.gd index 24e3e58..ace12e7 100644 --- a/scripts/Contents/Bullets/Wuwei.gd +++ b/scripts/Contents/Bullets/Wuwei.gd @@ -1,2 +1,5 @@ extends BulletBase class_name WuweiBullet + +func shoot(): + pass diff --git a/scripts/Contents/Bullets/Wuwei.gd.uid b/scripts/Contents/Bullets/Wuwei.gd.uid new file mode 100644 index 0000000..461a793 --- /dev/null +++ b/scripts/Contents/Bullets/Wuwei.gd.uid @@ -0,0 +1 @@ +uid://dxgplcmmg0dgi