1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-03 18:27:13 +08:00

feat(角色): 更新KukeMC角色资源与逻辑

添加KukeMC角色的新动画资源(pico-a.svg, pico-b.svg, pico-c.svg, pico-d.svg)
调整角色基础属性和技能逻辑:
- 增加百分比生命值计算方法
- 修改攻击冷却时间和治疗机制
- 优化子弹生成逻辑
- 更新角色纹理和动画帧
- 调整碰撞框大小和位置
This commit is contained in:
2026-01-24 08:44:44 +08:00
parent e74414b53b
commit 418ebf73e5
12 changed files with 330 additions and 21 deletions
+43 -6
View File
@@ -1,8 +1,11 @@
[gd_scene load_steps=6 format=3 uid="uid://d4lfjwy0hkidu"]
[gd_scene load_steps=10 format=3 uid="uid://d4lfjwy0hkidu"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_r4q7y"]
[ext_resource type="Script" uid="uid://cekuqnfohprpb" path="res://scripts/Contents/Characters/KukeMC.gd" id="2_s2dg5"]
[ext_resource type="Texture2D" uid="uid://c6thlmj566h82" path="res://resources/characters/kukemc/cy.png" id="3_wafrb"]
[ext_resource type="Texture2D" uid="uid://mnockp3ai4ju" path="res://resources/characters/kukemc/pico-a.svg" id="3_1s5d7"]
[ext_resource type="Texture2D" uid="uid://fsiyiwek5awa" path="res://resources/characters/kukemc/pico-b.svg" id="4_xjfsq"]
[ext_resource type="Texture2D" uid="uid://dem14qyqmrp52" path="res://resources/characters/kukemc/pico-c.svg" id="5_rfpp4"]
[ext_resource type="Texture2D" uid="uid://cvig26vtcyqmd" path="res://resources/characters/kukemc/pico-d.svg" id="6_kcxk2"]
[sub_resource type="SpriteFrames" id="SpriteFrames_x576j"]
animations = [{
@@ -17,14 +20,43 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="SpriteFrames" id="SpriteFrames_bxbcp"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_1s5d7")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_1s5d7")
}, {
"duration": 1.0,
"texture": ExtResource("4_xjfsq")
}, {
"duration": 1.0,
"texture": ExtResource("5_rfpp4")
}, {
"duration": 1.0,
"texture": ExtResource("6_kcxk2")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_farlp"]
size = Vector2(221, 150)
size = Vector2(148, 194)
[node name="KukeMC" instance=ExtResource("1_r4q7y")]
script = ExtResource("2_s2dg5")
displayName = "酷可mc"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(20, 40), Vector2(25, 50)])
useStatic = true
metadata/_edit_vertical_guides_ = [76.0]
[node name="collect" parent="sounds" index="4"]
@@ -36,14 +68,19 @@ sprite_frames = SubResource("SpriteFrames_x576j")
[node name="staticBackground" parent="texture" index="0"]
position = Vector2(0, -19.999998)
scale = Vector2(0.61562973, 0.61562973)
texture = ExtResource("3_wafrb")
[node name="staticAnimation" parent="texture" index="1"]
position = Vector2(0, -49)
scale = Vector2(1.507288, 1.507288)
sprite_frames = SubResource("SpriteFrames_bxbcp")
animation = &"walk"
[node name="hitbox" parent="texture/hurtbox" index="0"]
position = Vector2(70, -25)
position = Vector2(0, -49)
shape = SubResource("RectangleShape2D_farlp")
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
position = Vector2(-22, 18)
[node name="statebar" parent="." index="4"]
position = Vector2(75, -169)
position = Vector2(0, -217)
+19
View File
@@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="110.32377130683597" height="133.1537121027344" viewBox="-0.46886733619538923 -0.5636057004150548 110.32377130683597 133.1537121027344">
<!-- Exported by Scratch - http://scratch.mit.edu/ -->
<path id="R_Arm_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 67.0648 106.7508 C 67.0648 106.7508 72.7402 114.5641 68.703 117.5034 C 66.5353 119.0906 63.5264 115.9505 62.6951 114.8144 C 61.4916 113.1651 61.0949 112.7681 60.8383 110.7002 C 60.5826 108.6368 59.5642 101.0495 59.9772 98.3028 C 60.6268 93.9986 63.6005 86.8353 65.7573 96.8597 C 65.7573 96.8597 66.4368 102.5367 66.9781 106.3313 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 L 67.0648 106.7508 Z M 65.8368 105.1744 L 67.0648 106.7508 " stroke-width="0.901917165116888"/>
<g id="Body_1_">
<path id="Body_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M 63.6945 97.7707 C 63.3041 100.3554 62.2641 107.0866 62.4313 108.4172 L 62.1882 107.8743 C 62.687 109.2787 63.1912 111.2764 63.0312 113.3533 C 62.7204 117.3855 60.4985 119.5461 58.1375 120.6994 L 58.1104 120.8308 L 56.0846 128.8809 C 56.1234 128.88 56.4677 128.9007 58.8911 129.1339 C 61.9614 129.4273 60.532 131.2702 60.532 131.2702 L 54.8087 131.1684 L 54.516 131.1648 L 42.9511 130.9587 C 42.8092 130.4897 42.9222 129.0393 43.655 125.3708 C 43.9378 123.9295 44.1998 122.6898 44.4285 121.6761 L 44.4303 121.6689 C 40.5232 118.6432 40.9922 113.9609 42.1831 110.648 C 42.9421 108.5288 47.2747 92.5321 47.2747 92.5321 C 47.2747 92.5321 49.1578 86.3888 56.9511 88.5269 C 56.9511 88.5269 65.9218 90.0141 63.6954 97.7671 C 63.6954 97.7698 63.6945 97.7698 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 L 63.6945 97.7707 Z M 52.2823 121.7545 C 52.2823 121.7545 54.5792 122.1236 58.1366 120.7012 M 62.4304 108.4181 C 62.2271 107.489 61.0172 105.8487 61.0172 105.8487 M 45.1296 118.8286 C 45.1296 118.8286 44.8685 119.6407 44.4303 121.6716 " stroke-width="0.901917165116888"/>
<path id="Leg_Separation" d="M 55.0608 131.064 C 55.0536 131.064 55.0464 131.064 55.0418 131.064 C 54.7915 131.0523 54.5982 130.8426 54.609 130.595 C 54.619 130.3717 54.5593 130.2007 54.4229 130.0548 C 53.8482 129.4481 52.107 129.421 51.0661 129.4048 C 50.7535 129.4003 50.4752 129.3958 50.2565 129.3814 C 50.1201 129.3715 49.9945 129.3004 49.9168 129.1888 C 49.8391 129.0762 49.8156 128.9349 49.8544 128.8035 C 50.2276 127.5485 50.589 126.2792 50.9505 125.0107 L 51.4077 123.4082 C 51.4763 123.1688 51.7239 123.0265 51.9661 123.0994 C 52.2064 123.167 52.3447 123.4172 52.2769 123.6558 L 51.8197 125.2556 C 51.5116 126.3395 51.2026 127.4252 50.8863 128.5001 C 50.9486 128.501 51.0137 128.5019 51.0797 128.5037 C 52.4151 128.5226 54.244 128.5514 55.0807 129.4355 C 55.3879 129.7586 55.5325 130.162 55.5135 130.6301 C 55.5009 130.875 55.3012 131.064 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 L 55.0608 131.064 Z " stroke-width="0.901917165116888" fill="undefined"/>
</g>
<path id="L_Arm_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 48.9355 100.7965 L 45.9709 105.6588 L 45.9844 105.5741 C 46.0802 108.9906 45.848 114.9233 43.1183 115.8956 C 41.6482 116.4159 38.192 117.2532 38.5064 107.8554 C 38.7585 100.2851 45.5426 93.5953 48.1702 91.2826 C 48.1702 91.2826 50.5086 92.5789 50.6008 95.0808 C 50.692 97.5844 48.9337 100.7929 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 L 48.9355 100.7965 Z M 45.9844 105.5741 C 45.9844 104.1247 45.5814 103.2245 45.5814 103.2245 " stroke-width="0.901917165116888"/>
<path id="Head_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 18.1001 35.9465 C 18.1001 35.9465 18.9404 32.5147 26.0913 25.2208 C 33.2386 17.9305 40.9759 15.4197 46.1073 13.3239 C 51.2387 11.2281 54.684 0.7563 54.684 0.7563 C 54.684 0.7563 59.4088 6.6116 64.2646 11.9357 C 69.2198 17.3652 80.7585 22.1239 93.123 34.5232 C 94.5985 36.0077 95.8527 37.5615 96.9072 39.1559 L 97.1213 39.3423 C 99.8826 41.7288 109.6783 51.2499 108.4214 65.1121 C 107.4618 75.6739 102.6421 79.0112 100.3046 79.9069 L 100.2856 79.9843 C 101.4892 77.6086 102.2057 75.0869 102.5446 72.5275 C 103.6623 64.0633 99.0839 58.5645 96.1491 51.2022 C 92.3441 41.6559 81.9358 36.285 68.459 36.5524 C 42.8092 37.0583 37.1601 51.4255 37.1601 51.4255 L 37.1411 51.6119 C 41.8993 60.4164 43.7996 79.9456 34.0563 85.7901 C 23.5613 92.0766 8.0216 89.8827 1.9695 65.5919 C -3.5703 43.361 13.0175 36.357 17.8968 36.4146 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 L 18.1001 35.9465 Z M 96.9063 39.1559 C 96.9063 39.1559 103.6361 49.8086 101.4458 62.9731 M 17.8968 36.4137 C 22.6153 36.5407 25.7778 39.9058 25.7778 39.9058 M 37.1402 51.6101 C 36.346 50.3758 35.7921 49.3594 35.7921 49.3594 " stroke-width="0.901917165116888"/>
<path id="R_Ear" fill="#404041" stroke="#000000" d="M 101.7593 76.3698 C 101.7593 76.3698 103.8827 72.532 105.3158 65.4956 C 106.7471 58.4556 104.8369 48.8832 104.8369 48.8832 C 107.2088 53.1693 109.006 58.6699 108.425 65.1121 C 107.4943 75.402 102.7018 78.9112 100.3064 79.9069 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 L 101.7593 76.3698 Z " stroke-width="0.901917165116888"/>
<g id="L_Ear">
<path id="Outer_Ear" fill="#404041" stroke="#231F20" d="M 2.5216 67.7562 C 3.6068 71.9315 6.1323 76.8154 7.4325 79.0454 C 8.7291 81.278 11.9079 84.7305 15.5845 86.7399 C 19.2639 88.7537 21.0873 88.5215 21.0873 88.5215 C 26.6551 86.0035 28.7975 75.0068 25.8591 62.965 C 22.7372 50.1903 15.0686 41.0788 8.7246 42.6192 C 5.3362 43.4384 2.2577 46.818 1.365 52.0332 C 0.4967 57.0881 1.4391 63.588 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 L 2.5216 67.7562 Z " stroke-width="0.901917165116888"/>
<path id="Inner_Ear" fill="#929497" stroke="#231F20" stroke-linecap="round" d="M 6.463 57.1331 C 8.9035 56.0915 13.0455 60.2804 15.7156 66.4931 C 18.3829 72.7013 18.57 78.5844 16.1321 79.6251 C 13.6898 80.6649 9.5496 76.4742 6.8813 70.2634 C 4.2095 64.0534 4.0242 58.1747 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 L 6.463 57.1331 Z M 17.1965 78.6106 C 7.147 72.2646 7.259 56.9765 7.259 56.9765 " stroke-width="0.901917165116888"/>
</g>
<path id="Face" fill="#E6E7E8" stroke="#000000" stroke-linecap="round" d="M 33.2205 86.3636 C 34.3961 87.1639 43.0857 92.9381 52.5227 95.2815 C 58.7727 96.8381 57.2104 99.8845 57.2104 99.8845 C 57.2104 99.8845 57.4625 98.9636 62.3391 96.8642 C 67.2175 94.7756 66.6311 96.6202 81.1822 93.1785 C 95.7325 89.7485 101.3798 81.3347 102.5482 72.5266 C 103.6668 64.0624 99.0875 58.5636 96.1536 51.2013 C 92.3477 41.655 81.9413 36.2841 68.4644 36.5515 C 42.8102 37.0556 37.161 51.4246 37.161 51.4246 L 37.1221 51.5794 C 41.8912 60.3632 43.8113 79.9375 34.0554 85.7892 C 33.7627 85.9639 33.4663 86.1331 33.1663 86.2951 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 L 33.2205 86.3636 Z " stroke-width="0.901917165116888"/>
<path id="Mouth" fill="none" stroke="#231F20" stroke-linecap="round" d="M 60.5428 70.2346 C 60.5428 70.2346 67.0395 73.2621 74.1669 72.7382 C 81.2916 72.2178 82.0244 69.4991 82.0244 69.4991 " stroke-width="0.901917165116888"/>
<path id="Left_Eye" fill="#FFFFFF" stroke="#000000" stroke-width="2.639811345898469" d="M 52.9537 53.6496 C 53.9587 53.6496 54.8689 54.0566 55.5286 54.7131 C 56.1875 55.3704 56.596 56.2772 56.596 57.2785 C 56.596 58.2798 56.1875 59.1867 55.5286 59.844 C 54.8689 60.5005 53.9587 60.9075 52.9537 60.9075 C 51.9487 60.9075 51.0385 60.5005 50.3788 59.844 C 49.7199 59.1867 49.3114 58.2798 49.3114 57.2785 C 49.3114 56.2772 49.7199 55.3704 50.3788 54.7131 C 51.0385 54.0566 51.9487 53.6496 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 L 52.9537 53.6496 Z "/>
<path id="Left_Eye" fill="#FFFFFF" stroke="#000000" stroke-width="2.639811345898469" d="M 85.8537 53.3996 C 86.8587 53.3996 87.7689 53.8066 88.4286 54.4631 C 89.0875 55.1204 89.496 56.0272 89.496 57.0285 C 89.496 58.0298 89.0875 58.9367 88.4286 59.594 C 87.7689 60.2505 86.8587 60.6575 85.8537 60.6575 C 84.8487 60.6575 83.9385 60.2505 83.2788 59.594 C 82.6199 58.9367 82.2114 58.0298 82.2114 57.0285 C 82.2114 56.0272 82.6199 55.1204 83.2788 54.4631 C 83.9385 53.8066 84.8487 53.3996 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 L 85.8537 53.3996 Z "/>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://mnockp3ai4ju"
path="res://.godot/imported/pico-a.svg-9db0830fa39a152b3a56a9e5db59640c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/characters/kukemc/pico-a.svg"
dest_files=["res://.godot/imported/pico-a.svg-9db0830fa39a152b3a56a9e5db59640c.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+23
View File
@@ -0,0 +1,23 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="108.55571746826172" height="131.83718872070312" viewBox="0.46187400817871094 0.10199999809265137 108.55571746826172 131.83718872070312">
<!-- Exported by Scratch - http://scratch.mit.edu/ -->
<g id="ID0.9723896710202098">
<path id="R_Arm_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 67.0969 106.8605 C 67.0969 106.8605 72.7655 114.6933 68.7323 117.64 C 66.5681 119.2311 63.5618 116.0823 62.7324 114.9442 C 61.5303 113.2908 61.1341 112.8928 60.8769 110.8198 C 60.6224 108.7512 59.6053 101.145 60.0177 98.3914 C 60.6666 94.0766 63.6367 86.8954 65.7901 96.9438 C 65.7901 96.9438 66.4688 102.6359 67.0103 106.439 L 67.0969 106.8605 L 67.0969 106.8605 L 67.0969 106.8605 L 67.0969 106.8605 Z M 65.8695 105.2802 L 67.096 106.8605 " stroke-width="0.9024999737739563"/>
<g id="Body_1_">
<path id="Body_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M 63.7297 97.8572 C 63.3398 100.4482 62.301 107.1971 62.468 108.5301 L 62.2252 107.9859 C 62.7234 109.3938 63.227 111.3956 63.0673 113.4785 C 62.7568 117.5208 60.5376 119.6868 58.1793 120.8429 L 58.1531 120.9747 L 56.1297 129.0449 C 56.1686 129.044 56.5124 129.0647 58.932 129.2976 C 61.9987 129.5918 60.5709 131.4392 60.5709 131.4392 L 54.8545 131.3381 L 54.5621 131.3345 L 43.011 131.1278 C 42.8693 130.6576 42.9821 129.2037 43.7141 125.526 C 43.9965 124.0811 44.2583 122.8384 44.4866 121.8222 L 44.4884 121.8149 C 40.586 118.7816 41.0544 114.0877 42.2439 110.7665 C 43.002 108.642 47.3295 92.6055 47.3295 92.6055 C 47.3295 92.6055 49.2103 86.4469 56.9943 88.5903 C 56.9943 88.5903 65.9544 90.0812 63.7306 97.8536 C 63.7306 97.8572 63.7297 97.8572 63.7297 97.8572 L 63.7297 97.8572 L 63.7297 97.8572 L 63.7297 97.8572 Z M 52.3311 121.9016 C 52.3311 121.9016 54.6253 122.2716 58.1784 120.8456 M 62.468 108.5328 C 62.264 107.6006 61.0565 105.9571 61.0565 105.9571 M 45.1869 118.9684 C 45.1869 118.9684 44.9261 119.7816 44.4884 121.8176 " stroke-width="0.9024999737739563"/>
<path id="Leg_Separation" d="M 55.1072 131.2343 C 55.1 131.2343 55.0928 131.2343 55.0883 131.2343 C 54.8383 131.2226 54.6451 131.0123 54.656 130.7641 C 54.6659 130.5403 54.6063 130.3688 54.47 130.2226 C 53.8961 129.6143 52.1569 129.5873 51.1173 129.571 C 50.805 129.5665 50.527 129.5611 50.3086 129.5476 C 50.1723 129.5376 50.0469 129.4663 49.9693 129.3544 C 49.8917 129.2416 49.8682 129.0999 49.907 128.9681 C 50.2797 127.7101 50.6407 126.4375 51.0017 125.165 L 51.4584 123.5595 C 51.527 123.3194 51.7743 123.1768 52.0161 123.2499 C 52.2562 123.3176 52.3943 123.5685 52.3266 123.8077 L 51.8699 125.4105 C 51.5622 126.4971 51.2535 127.5855 50.9377 128.6631 C 50.9999 128.664 51.0649 128.6649 51.1308 128.6667 C 52.4647 128.6857 54.2914 128.7145 55.1271 129.6008 C 55.433 129.9239 55.5783 130.3291 55.5594 130.7975 C 55.5458 131.0448 55.3464 131.2343 55.1072 131.2343 L 55.1072 131.2343 L 55.1072 131.2343 L 55.1072 131.2343 L 55.1072 131.2343 Z " stroke-width="0.9024999737739563" fill="undefined"/>
</g>
<path id="L_Arm_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 48.9883 100.8914 L 46.0272 105.7658 L 46.0407 105.68 C 46.1355 109.105 45.9044 115.0534 43.178 116.0272 C 41.7096 116.5488 38.2575 117.3891 38.5716 107.967 C 38.8234 100.3779 45.5994 93.6714 48.2238 91.3529 C 48.2238 91.3529 50.5595 92.6525 50.6516 95.1614 C 50.7436 97.6704 48.9865 100.8878 48.9883 100.8914 L 48.9883 100.8914 L 48.9883 100.8914 L 48.9883 100.8914 Z M 46.0416 105.68 C 46.0416 104.2279 45.6391 103.3254 45.6391 103.3254 " stroke-width="0.9024999737739563"/>
<g id="Head_1_">
<path id="Head_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 18.1895 35.8798 C 18.1895 35.8798 19.0289 32.4395 26.1713 25.1274 C 33.31 17.819 41.0381 15.3019 46.1634 13.2009 C 51.2887 11.0998 54.73 0.602 54.73 0.602 C 54.73 0.602 59.4491 6.4718 64.2992 11.8092 C 69.2485 17.2522 80.7734 22.0228 93.1232 34.4529 C 94.597 35.9412 95.8497 37.4989 96.9029 39.0972 L 97.1159 39.284 C 99.8748 41.6765 109.657 51.2214 108.4025 65.1181 C 107.4441 75.7053 102.6302 79.0509 100.2963 79.9498 L 100.2773 80.0274 C 101.4795 77.6457 102.1951 75.1187 102.5336 72.5529 C 103.6491 64.0676 99.077 58.5542 96.1457 51.1745 C 92.3453 41.6043 81.9494 36.22 68.4886 36.4881 C 42.8702 36.9944 37.2278 51.3974 37.2278 51.3974 L 37.2088 51.5842 C 41.9614 60.4106 43.8594 79.9886 34.1277 85.8476 C 23.6452 92.1498 8.124 89.9504 2.079 65.5991 C -3.4542 43.3128 13.1139 36.2913 17.9874 36.3491 L 18.1895 35.8798 L 18.1895 35.8798 L 18.1895 35.8798 L 18.1895 35.8798 Z M 96.902 39.0972 C 96.902 39.0972 103.6238 49.7765 101.4361 62.9737 M 17.9865 36.3482 C 22.6993 36.4754 25.8581 39.849 25.8581 39.849 M 37.2079 51.5824 C 36.4146 50.3451 35.8614 49.3261 35.8614 49.3261 " stroke-width="0.9024999737739563"/>
<path id="R_Ear" fill="#404041" stroke="#000000" d="M 101.7493 76.4038 C 101.7493 76.4038 103.8702 72.5556 105.3016 65.5025 C 106.7311 58.445 104.8241 48.8487 104.8241 48.8487 C 107.1932 53.1455 108.9874 58.6598 108.408 65.1181 C 107.4793 75.4337 102.6915 78.9516 100.2999 79.9498 L 101.7493 76.4038 L 101.7493 76.4038 L 101.7493 76.4038 L 101.7493 76.4038 Z " stroke-width="0.9024999737739563"/>
<g id="L_Ear">
<path id="Outer_Ear" fill="#404041" stroke="#231F20" d="M 2.6304 67.7687 C 3.7143 71.9554 6.2368 76.8506 7.5355 79.0861 C 8.8306 81.3243 12.0056 84.7854 15.6779 86.8006 C 19.3529 88.8186 21.1741 88.5867 21.1741 88.5867 C 26.7353 86.0624 28.8751 75.0384 25.9402 62.9665 C 22.8221 50.16 15.1626 41.0258 8.8261 42.57 C 5.4417 43.3913 2.3669 46.7793 1.4752 52.0075 C 0.607 57.0741 1.5483 63.5901 2.6304 67.7687 L 2.6304 67.7687 L 2.6304 67.7687 L 2.6304 67.7687 Z " stroke-width="0.9024999737739563"/>
<path id="Inner_Ear" fill="#929497" stroke="#231F20" stroke-linecap="round" d="M 6.5662 57.1192 C 9.0039 56.075 13.141 60.2744 15.8078 66.5025 C 18.472 72.7262 18.6588 78.624 16.2239 79.6673 C 13.7844 80.7097 9.6492 76.5085 6.9841 70.2822 C 4.3154 64.0567 4.1304 58.1634 6.5662 57.1192 L 6.5662 57.1192 L 6.5662 57.1192 L 6.5662 57.1192 Z M 17.287 78.6493 C 7.2494 72.2875 7.3614 56.9622 7.3614 56.9622 " stroke-width="0.9024999737739563"/>
</g>
<path id="Face_1_" fill="#E6E7E8" stroke="#000000" stroke-linecap="round" d="M 33.292 86.4234 C 34.4661 87.2257 43.1455 93.0144 52.5712 95.3627 C 58.8138 96.9231 57.2534 99.9771 57.2534 99.9771 C 57.2534 99.9771 57.5052 99.0539 62.3759 96.9493 C 67.2476 94.8564 66.6628 96.7047 81.1967 93.2544 C 95.7305 89.8159 101.3712 81.3811 102.5372 72.5511 C 103.6545 64.0667 99.0806 58.5533 96.1502 51.1727 C 92.3489 41.6025 81.9548 36.2182 68.494 36.4863 C 42.8702 36.9917 37.2278 51.3965 37.2278 51.3965 L 37.189 51.5517 C 41.9524 60.3574 43.8702 79.9805 34.1259 85.8467 C 33.8335 86.0218 33.5375 86.1915 33.2378 86.3539 L 33.292 86.4234 L 33.292 86.4234 L 33.292 86.4234 L 33.292 86.4234 Z " stroke-width="0.9024999737739563"/>
<path id="Smile" fill="#FFFFFF" stroke="#000000" stroke-width="0.9840859714031219" stroke-linecap="round" d="M 72.2773 84.4902 C 60.802 85.2637 59.5204 70.3408 59.5204 70.3408 C 59.5204 70.3408 66.0789 70.1324 74.5425 69.6071 C 83.0044 69.0855 85.0332 69.6071 85.0332 69.6071 C 85.0332 69.6071 83.7499 83.7159 72.2773 84.4902 L 72.2773 84.4902 L 72.2773 84.4902 L 72.2773 84.4902 Z "/>
<path id="R_Eye" d="M 89.6748 61.055 C 89.5322 61.055 89.3887 61.0352 89.2425 60.9946 C 88.4311 60.7572 87.9627 59.9043 88.2037 59.0921 C 88.3129 58.713 88.3364 58.3214 88.2741 57.9297 C 88.0421 56.4577 86.6171 55.4541 85.1316 55.6879 C 83.6298 55.9243 82.5983 57.316 82.8293 58.7907 C 82.9611 59.6273 82.3889 60.4124 81.5514 60.5433 C 80.7084 60.6751 79.9296 60.1047 79.7987 59.2654 C 79.3023 56.1229 81.4792 53.1563 84.6542 52.6537 C 87.8237 52.1627 90.8074 54.307 91.3092 57.4477 C 91.4419 58.2916 91.3886 59.1336 91.1476 59.9513 C 90.9509 60.62 90.3399 61.055 89.6748 61.055 L 89.6748 61.055 L 89.6748 61.055 L 89.6748 61.055 L 89.6748 61.055 Z " stroke-width="0.9024999737739563" fill="undefined"/>
<path id="L_Eye" d="M 60.4247 61.055 C 60.283 61.055 60.1386 61.0352 59.9924 60.9946 C 59.1802 60.7572 58.7127 59.9043 58.9528 59.0921 C 59.062 58.713 59.0854 58.3214 59.025 57.9297 C 58.7921 56.4577 57.3716 55.4541 55.8816 55.6879 C 54.3798 55.9243 53.3482 57.316 53.5793 58.7907 C 53.7101 59.6273 53.1389 60.4124 52.3013 60.5433 C 51.4584 60.6751 50.6795 60.1047 50.5478 59.2654 C 50.0523 56.1229 52.2291 53.1563 55.4032 52.6537 C 58.5674 52.1627 61.5592 54.307 62.0583 57.4477 C 62.1909 58.2916 62.1386 59.1336 61.8976 59.9513 C 61.7009 60.62 61.0899 61.055 60.4247 61.055 L 60.4247 61.055 L 60.4247 61.055 L 60.4247 61.055 L 60.4247 61.055 Z " stroke-width="0.9024999737739563" fill="undefined"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.6 KiB

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://fsiyiwek5awa"
path="res://.godot/imported/pico-b.svg-bf7962f0a8f938cadf82d80cc077bee5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/characters/kukemc/pico-b.svg"
dest_files=["res://.godot/imported/pico-b.svg-bf7962f0a8f938cadf82d80cc077bee5.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+31
View File
@@ -0,0 +1,31 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="108.55572509765625" height="131.83718872070312" viewBox="0.5127737522125244 0.10199999809265137 108.55572509765625 131.83718872070312">
<!-- Exported by Scratch - http://scratch.mit.edu/ -->
<g id="ID0.21277596149593592">
<g id="Body_1_">
<path id="Body_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M 63.7806 97.8572 C 63.3907 100.4482 62.3519 107.1971 62.5189 108.5301 L 62.2761 107.9859 C 62.7743 109.3938 63.2779 111.3956 63.1182 113.4785 C 62.8077 117.5208 60.5885 119.6868 58.2302 120.8429 L 58.2041 120.9747 L 56.1806 129.0449 C 56.2195 129.044 56.5633 129.0647 58.9829 129.2976 C 62.0496 129.5918 60.6218 131.4392 60.6218 131.4392 L 54.9054 131.3381 L 54.613 131.3345 L 43.0619 131.1278 C 42.9202 130.6576 43.033 129.2037 43.765 125.526 C 44.0474 124.0811 44.3092 122.8384 44.5375 121.8222 L 44.5393 121.8149 C 40.6369 118.7816 41.1053 114.0877 42.2948 110.7665 C 43.0529 108.642 47.3804 92.6055 47.3804 92.6055 C 47.3804 92.6055 49.2612 86.4469 57.0452 88.5903 C 57.0452 88.5903 66.0053 90.0812 63.7815 97.8536 C 63.7815 97.8572 63.7806 97.8572 63.7806 97.8572 L 63.7806 97.8572 L 63.7806 97.8572 Z M 52.382 121.9016 C 52.382 121.9016 54.6762 122.2716 58.2293 120.8456 M 62.5189 108.5328 C 62.3149 107.6006 61.1074 105.9571 61.1074 105.9571 M 45.2378 118.9684 C 45.2378 118.9684 44.977 119.7816 44.5393 121.8176 " stroke-width="0.9024999737739563"/>
<path id="Leg_Separation" d="M 55.1581 131.2343 C 55.1509 131.2343 55.1437 131.2343 55.1392 131.2343 C 54.8892 131.2226 54.696 131.0123 54.7069 130.7641 C 54.7168 130.5403 54.6572 130.3688 54.5209 130.2226 C 53.947 129.6143 52.2078 129.5873 51.1682 129.571 C 50.8559 129.5665 50.5779 129.5611 50.3595 129.5476 C 50.2232 129.5376 50.0978 129.4663 50.0202 129.3544 C 49.9426 129.2416 49.9191 129.0999 49.9579 128.9681 C 50.3306 127.7101 50.6916 126.4375 51.0526 125.165 L 51.5093 123.5595 C 51.5779 123.3194 51.8252 123.1768 52.0671 123.2499 C 52.3071 123.3176 52.4452 123.5685 52.3775 123.8077 L 51.9208 125.4105 C 51.6131 126.4971 51.3044 127.5855 50.9886 128.6631 C 51.0508 128.664 51.1158 128.6649 51.1817 128.6667 C 52.5156 128.6857 54.3423 128.7145 55.178 129.6008 C 55.4839 129.9239 55.6292 130.3291 55.6103 130.7975 C 55.5967 131.0448 55.3973 131.2343 55.1581 131.2343 L 55.1581 131.2343 L 55.1581 131.2343 L 55.1581 131.2343 Z " stroke-width="0.9024999737739563" fill="undefined"/>
</g>
<g id="Head_1_">
<path id="Head_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 18.2404 35.8798 C 18.2404 35.8798 19.0798 32.4395 26.2222 25.1274 C 33.3609 17.819 41.089 15.3019 46.2143 13.2009 C 51.3396 11.0998 54.7809 0.602 54.7809 0.602 C 54.7809 0.602 59.5 6.4718 64.3501 11.8092 C 69.2994 17.2522 80.8243 22.0228 93.1741 34.4529 C 94.6479 35.9412 95.9006 37.4989 96.9538 39.0972 L 97.1668 39.284 C 99.9257 41.6765 109.7079 51.2214 108.4534 65.1181 C 107.495 75.7053 102.6811 79.0509 100.3472 79.9498 L 100.3282 80.0274 C 101.5304 77.6457 102.246 75.1187 102.5845 72.5529 C 103.7 64.0676 99.1279 58.5542 96.1966 51.1745 C 92.3962 41.6043 82.0003 36.22 68.5395 36.4881 C 42.9211 36.9944 37.2787 51.3974 37.2787 51.3974 L 37.2597 51.5842 C 42.0123 60.4106 43.9103 79.9886 34.1786 85.8476 C 23.6961 92.1498 8.1749 89.9504 2.1299 65.5991 C -3.4033 43.3128 13.1648 36.2913 18.0383 36.3491 L 18.2404 35.8798 L 18.2404 35.8798 L 18.2404 35.8798 Z M 96.9529 39.0972 C 96.9529 39.0972 103.6747 49.7765 101.487 62.9737 M 18.0374 36.3482 C 22.7502 36.4754 25.909 39.849 25.909 39.849 M 37.2588 51.5824 C 36.4655 50.3451 35.9123 49.3261 35.9123 49.3261 " stroke-width="0.9024999737739563"/>
<path id="R_Ear" fill="#404041" stroke="#000000" d="M 101.8002 76.4038 C 101.8002 76.4038 103.9211 72.5556 105.3525 65.5025 C 106.782 58.445 104.875 48.8487 104.875 48.8487 C 107.2441 53.1455 109.0383 58.6598 108.4589 65.1181 C 107.5302 75.4337 102.7424 78.9516 100.3508 79.9498 L 101.8002 76.4038 L 101.8002 76.4038 L 101.8002 76.4038 Z " stroke-width="0.9024999737739563"/>
<g id="L_Ear">
<path id="Outer_Ear" fill="#404041" stroke="#231F20" d="M 2.6813 67.7687 C 3.7653 71.9554 6.2877 76.8506 7.5864 79.0861 C 8.8815 81.3243 12.0565 84.7854 15.7288 86.8006 C 19.4038 88.8186 21.225 88.5867 21.225 88.5867 C 26.7862 86.0624 28.926 75.0384 25.9911 62.9665 C 22.873 50.16 15.2135 41.0258 8.877 42.57 C 5.4926 43.3913 2.4178 46.7793 1.5261 52.0075 C 0.6579 57.0741 1.5993 63.5901 2.6813 67.7687 L 2.6813 67.7687 L 2.6813 67.7687 Z " stroke-width="0.9024999737739563"/>
<path id="Inner_Ear" fill="#929497" stroke="#231F20" stroke-linecap="round" d="M 6.6172 57.1192 C 9.0548 56.075 13.1919 60.2744 15.8588 66.5025 C 18.5229 72.7262 18.7097 78.624 16.2748 79.6673 C 13.8353 80.7097 9.7001 76.5085 7.035 70.2822 C 4.3663 64.0567 4.1813 58.1634 6.6172 57.1192 L 6.6172 57.1192 L 6.6172 57.1192 Z M 17.3379 78.6493 C 7.3003 72.2875 7.4123 56.9622 7.4123 56.9622 " stroke-width="0.9024999737739563"/>
</g>
<path id="Face" fill="#E6E7E8" stroke="#000000" stroke-linecap="round" d="M 33.3429 86.4234 C 34.517 87.2257 43.1964 93.0144 52.6221 95.3627 C 58.8647 96.9231 57.3043 99.9771 57.3043 99.9771 C 57.3043 99.9771 57.5561 99.0539 62.4268 96.9493 C 67.2985 94.8564 66.7137 96.7047 81.2476 93.2544 C 95.7814 89.8159 101.4221 81.3811 102.5881 72.5511 C 103.7054 64.0667 99.1315 58.5533 96.2011 51.1727 C 92.3998 41.6025 82.0057 36.2182 68.5449 36.4863 C 42.9211 36.9917 37.2787 51.3965 37.2787 51.3965 L 37.2399 51.5517 C 42.0033 60.3574 43.9211 79.9805 34.1768 85.8467 C 33.8844 86.0218 33.5884 86.1915 33.2887 86.3539 L 33.3429 86.4234 L 33.3429 86.4234 L 33.3429 86.4234 Z " stroke-width="0.9024999737739563"/>
<path id="Mouth_1_" fill="#FFFFFF" stroke="#231F20" stroke-width="0.9841762214004993" stroke-linecap="round" d="M 73.8769 79.6853 C 59.6571 79.3613 58.1707 65.2399 58.1707 65.2399 C 58.1707 65.2399 66.8031 62.5451 75.264 62.0198 C 83.7286 61.4991 89.8809 64.2508 89.8809 64.2508 C 89.8809 64.2508 88.8872 80.0283 73.8769 79.6853 L 73.8769 79.6853 L 73.8769 79.6853 Z "/>
<g id="R_Eye">
<path id="Middle" fill="#FFFFFF" d="M 87.8142 51.2503 C 90.1553 50.882 92.3501 52.4569 92.7147 54.7682 C 93.0776 57.0813 91.4738 59.2545 89.1372 59.6246 C 86.7898 59.9955 84.6004 58.4188 84.2358 56.1075 C 83.8721 53.7944 85.4731 51.6194 87.8142 51.2503 L 87.8142 51.2503 L 87.8142 51.2503 Z " stroke-width="0.9024999737739563"/>
<path id="Outside" fill="#231F20" d="M 88.4522 60.5803 C 85.8891 60.5803 83.7403 58.7582 83.345 56.2474 C 83.132 54.8882 83.465 53.5264 84.2845 52.4136 C 85.0995 51.3044 86.3034 50.5743 87.6743 50.3604 C 90.5623 49.9155 93.1678 51.8513 93.6064 54.6283 C 94.0459 57.4279 92.1047 60.0686 89.2789 60.5153 C 88.9983 60.5605 88.7248 60.5803 88.4522 60.5803 L 88.4522 60.5803 L 88.4522 60.5803 L 88.4522 60.5803 Z M 88.4956 52.0995 C 88.3178 52.0995 88.1382 52.114 87.955 52.1428 C 87.0597 52.2836 86.2745 52.7611 85.7375 53.4849 C 85.205 54.2069 84.9884 55.0859 85.1265 55.9658 C 85.4099 57.7699 87.1129 59.0244 88.9937 58.732 C 90.8384 58.4405 92.1074 56.7239 91.8222 54.9099 C 91.5659 53.2818 90.1661 52.0995 88.4956 52.0995 L 88.4956 52.0995 L 88.4956 52.0995 L 88.4956 52.0995 Z " stroke-width="0.9024999737739563"/>
<path id="Center" fill="#231F20" d="M 88.4766 53.0841 C 89.1264 53.0841 89.7148 53.3477 90.1408 53.7737 C 90.5668 54.1996 90.8303 54.7881 90.8303 55.4379 C 90.8303 56.0877 90.5668 56.6761 90.1408 57.1021 C 89.7148 57.5281 89.1264 57.7916 88.4766 57.7916 C 87.8268 57.7916 87.2384 57.5281 86.8124 57.1021 C 86.3864 56.6761 86.1229 56.0877 86.1229 55.4379 C 86.1229 54.7881 86.3864 54.1996 86.8124 53.7737 C 87.2384 53.3477 87.8268 53.0841 88.4766 53.0841 L 88.4766 53.0841 Z " stroke-width="0.9024999737739563"/>
</g>
<g id="L_Eye_1_">
<path id="Middle_1_" fill="#FFFFFF" d="M 53.3847 52.3522 C 55.7258 51.984 57.9207 53.5589 58.2853 55.8702 C 58.6481 58.1833 57.0443 60.3565 54.7078 60.7265 C 52.3613 61.0974 50.1709 59.5208 49.8072 57.2095 C 49.4417 54.8964 51.0436 52.7213 53.3847 52.3522 L 53.3847 52.3522 L 53.3847 52.3522 Z " stroke-width="0.9024999737739563"/>
<path id="Outside_1_" fill="#231F20" d="M 54.0228 61.6814 C 51.4597 61.6814 49.3108 59.8592 48.9146 57.3485 C 48.7016 55.9893 49.0347 54.6274 49.8541 53.5146 C 50.67 52.4055 51.8739 51.6753 53.2439 51.4615 C 56.1328 51.0165 58.7374 52.9524 59.1769 55.7294 C 59.6165 58.5289 57.6752 61.1696 54.8495 61.6164 C 54.5688 61.6624 54.2944 61.6814 54.0228 61.6814 L 54.0228 61.6814 L 54.0228 61.6814 L 54.0228 61.6814 Z M 54.0652 53.2015 C 53.8874 53.2015 53.7078 53.2159 53.5255 53.2448 C 52.6302 53.3856 51.8441 53.863 51.308 54.5868 C 50.7756 55.3088 50.559 56.1878 50.698 57.0678 C 50.9813 58.8719 52.6844 60.1264 54.5652 59.8339 C 56.409 59.5424 57.6788 57.8259 57.3927 56.0119 C 57.1364 54.3837 55.7357 53.2015 54.0652 53.2015 L 54.0652 53.2015 L 54.0652 53.2015 L 54.0652 53.2015 Z " stroke-width="0.9024999737739563"/>
<path id="Center_1_" fill="#231F20" d="M 54.0462 54.1861 C 54.696 54.1861 55.2845 54.4496 55.7104 54.8756 C 56.1364 55.3016 56.4 55.89 56.4 56.5398 C 56.4 57.1896 56.1364 57.778 55.7104 58.204 C 55.2845 58.63 54.696 58.8935 54.0462 58.8935 C 53.3964 58.8935 52.808 58.63 52.382 58.204 C 51.956 57.778 51.6925 57.1896 51.6925 56.5398 C 51.6925 55.89 51.956 55.3016 52.382 54.8756 C 52.808 54.4496 53.3964 54.1861 54.0462 54.1861 L 54.0462 54.1861 Z " stroke-width="0.9024999737739563"/>
</g>
</g>
<path id="L_Arm" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 42.3661 97.6938 C 42.3661 97.6938 42.2749 96.0224 42.3679 95.4764 C 42.5087 94.647 43.3624 92.6263 43.903 92.4828 C 46.1349 93.2932 45.5429 93.0802 48.0157 93.9656 C 48.0618 93.0541 48.1493 92.1416 48.3063 91.3519 C 48.9904 87.8701 51.012 84.8314 53.178 85.2014 C 55.3467 85.5714 56.8295 90.9088 54.234 97.655 C 51.6375 104.3994 49.1682 104.8822 47.0934 104.4734 C 44.5519 103.9689 42.3733 101.2244 42.3661 97.6938 L 42.3661 97.6938 L 42.3661 97.6938 L 42.3661 97.6938 Z M 48.6583 98.9627 L 48.0157 93.9647 " stroke-width="0.9024999737739563"/>
<path id="R_Arm" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 63.3618 96.5765 C 63.3618 96.5765 63.8429 96.3825 65.6768 95.7598 C 67.5115 95.1388 69.0539 95.2507 69.0539 95.2507 C 69.1315 94.3446 69.2497 93.4367 69.4312 92.6506 C 70.2326 89.1905 72.3489 86.2203 74.5059 86.6608 C 76.6602 87.103 77.9661 92.4846 75.1494 99.1405 C 72.3345 105.7965 69.849 106.1972 67.7931 105.7207 C 65.2643 105.134 63.1786 102.3191 63.2878 98.7904 L 63.3618 96.5765 L 63.3618 96.5765 L 63.3618 96.5765 Z M 68.942 99.7642 C 68.942 99.7642 69.0548 95.9845 69.0548 95.2507 " stroke-width="0.9024999737739563"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dem14qyqmrp52"
path="res://.godot/imported/pico-c.svg-5ecde95f499ee70657c1022037931523.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/characters/kukemc/pico-c.svg"
dest_files=["res://.godot/imported/pico-c.svg-5ecde95f499ee70657c1022037931523.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+23
View File
@@ -0,0 +1,23 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="109.36072504520416" height="132.64218866825104" viewBox="0.11027377843856812 -0.30049997568130493 109.36072504520416 132.64218866825104">
<!-- Exported by Scratch - http://scratch.mit.edu/ -->
<g id="ID0.6641015410423279">
<path id="R_Arm_1_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 63.3113 105.7089 C 64.5658 104.7658 66.5404 104.5257 67.7579 104.4698 L 67.9095 104.468 C 68.1352 103.2532 63.9801 100.2795 63.9801 100.2795 C 60.759 96.5377 66.3157 95.73 66.3157 95.73 C 69.9573 98.4772 76.4878 103.82 75.5257 106.1647 C 74.0149 109.8523 66.9384 113.0002 63.6894 111.1672 C 60.8764 109.577 63.3113 105.708 63.3113 105.7089 L 63.3113 105.7089 Z M 70.2073 104.4905 L 67.9086 104.468 " stroke-width="0.9024999737739563"/>
<g id="Body_1_">
<path id="Body_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" d="M 63.7806 97.8572 C 63.3907 100.4482 62.3519 107.1971 62.5189 108.5301 L 62.2761 107.9859 C 62.7743 109.3938 63.2779 111.3956 63.1182 113.4785 C 62.8077 117.5208 60.5885 119.6868 58.2302 120.8429 L 58.2041 120.9747 L 56.1806 129.0449 C 56.2195 129.044 56.5633 129.0647 58.9829 129.2976 C 62.0496 129.5918 60.6218 131.4392 60.6218 131.4392 L 54.9054 131.3381 L 54.613 131.3345 L 43.0619 131.1278 C 42.9202 130.6576 43.033 129.2037 43.765 125.526 C 44.0474 124.0811 44.3092 122.8384 44.5375 121.8222 L 44.5393 121.8149 C 40.6369 118.7816 41.1053 114.0877 42.2948 110.7665 C 43.0529 108.642 47.3804 92.6055 47.3804 92.6055 C 47.3804 92.6055 49.2612 86.4469 57.0452 88.5903 C 57.0452 88.5903 66.0053 90.0812 63.7815 97.8536 C 63.7815 97.8572 63.7806 97.8572 63.7806 97.8572 L 63.7806 97.8572 Z M 52.382 121.9016 C 52.382 121.9016 54.6762 122.2716 58.2293 120.8456 M 62.5189 108.5328 C 62.3149 107.6006 61.1074 105.9571 61.1074 105.9571 M 45.2378 118.9684 C 45.2378 118.9684 44.977 119.7816 44.5393 121.8176 " stroke-width="0.9024999737739563"/>
<path id="Leg_Separation" d="M 55.1581 131.2343 C 55.1509 131.2343 55.1437 131.2343 55.1392 131.2343 C 54.8892 131.2226 54.696 131.0123 54.7069 130.7641 C 54.7168 130.5403 54.6572 130.3688 54.5209 130.2226 C 53.947 129.6143 52.2078 129.5873 51.1682 129.571 C 50.8559 129.5665 50.5779 129.5611 50.3595 129.5476 C 50.2232 129.5376 50.0978 129.4663 50.0202 129.3544 C 49.9426 129.2416 49.9191 129.0999 49.9579 128.9681 C 50.3306 127.7101 50.6916 126.4375 51.0526 125.165 L 51.5093 123.5595 C 51.5779 123.3194 51.8252 123.1768 52.0671 123.2499 C 52.3071 123.3176 52.4452 123.5685 52.3775 123.8077 L 51.9208 125.4105 C 51.6131 126.4971 51.3044 127.5855 50.9886 128.6631 C 51.0508 128.664 51.1158 128.6649 51.1817 128.6667 C 52.5156 128.6857 54.3423 128.7145 55.178 129.6008 C 55.4839 129.9239 55.6292 130.3291 55.6103 130.7975 C 55.5967 131.0448 55.3973 131.2343 55.1581 131.2343 L 55.1581 131.2343 L 55.1581 131.2343 Z " stroke-width="0.9024999737739563" fill="undefined"/>
</g>
<path id="L_Arm" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 49.8568 95.6587 C 50.3063 98.8454 47.2676 99.8752 47.2676 99.8752 C 47.2676 99.8752 41.6865 101.5249 41.4176 102.7307 L 41.6621 103.1115 C 43.3823 103.9436 46.6241 105.9354 45.3813 108.6502 C 42.5276 114.8855 33.7598 106.7315 33.8519 101.5998 C 33.9115 98.1099 43.9265 93.4755 48.0284 93.3221 C 48.7693 93.2941 49.6835 93.7481 49.8568 95.6587 L 49.8568 95.6587 Z M 41.6621 103.1115 L 40.423 102.2912 " stroke-width="0.9024999737739563"/>
<g id="Head_1_">
<path id="Head_2_" fill="#F05A28" stroke="#000000" stroke-linecap="round" d="M 18.2404 35.8798 C 18.2404 35.8798 19.0798 32.4395 26.2222 25.1274 C 33.3609 17.819 41.089 15.3019 46.2143 13.2009 C 51.3396 11.0998 54.7809 0.602 54.7809 0.602 C 54.7809 0.602 59.5 6.4718 64.3501 11.8092 C 69.2994 17.2522 80.8243 22.0228 93.1741 34.4529 C 94.6479 35.9412 95.9006 37.4989 96.9538 39.0972 L 97.1668 39.284 C 99.9257 41.6765 109.7079 51.2214 108.4534 65.1181 C 107.495 75.7053 102.6811 79.0509 100.3472 79.9498 L 100.3282 80.0274 C 101.5304 77.6457 102.246 75.1187 102.5845 72.5529 C 103.7 64.0676 99.1279 58.5542 96.1966 51.1745 C 92.3962 41.6043 82.0003 36.22 68.5395 36.4881 C 42.9211 36.9944 37.2787 51.3974 37.2787 51.3974 L 37.2597 51.5842 C 42.0123 60.4106 43.9103 79.9886 34.1786 85.8476 C 23.6961 92.1498 8.1749 89.9504 2.1299 65.5991 C -3.4033 43.3128 13.1648 36.2913 18.0383 36.3491 L 18.2404 35.8798 L 18.2404 35.8798 Z M 96.9529 39.0972 C 96.9529 39.0972 103.6747 49.7765 101.487 62.9737 M 18.0374 36.3482 C 22.7502 36.4754 25.909 39.849 25.909 39.849 M 37.2588 51.5824 C 36.4655 50.3451 35.9123 49.3261 35.9123 49.3261 " stroke-width="0.9024999737739563"/>
<path id="R_Ear" fill="#404041" stroke="#000000" d="M 101.8002 76.4038 C 101.8002 76.4038 103.9211 72.5556 105.3525 65.5025 C 106.782 58.445 104.875 48.8487 104.875 48.8487 C 107.2441 53.1455 109.0383 58.6598 108.4589 65.1181 C 107.5302 75.4337 102.7424 78.9516 100.3508 79.9498 L 101.8002 76.4038 L 101.8002 76.4038 Z " stroke-width="0.9024999737739563"/>
<g id="L_Ear">
<path id="Outer_Ear" fill="#404041" stroke="#231F20" d="M 2.6813 67.7687 C 3.7653 71.9554 6.2877 76.8506 7.5864 79.0861 C 8.8815 81.3243 12.0565 84.7854 15.7288 86.8006 C 19.4038 88.8186 21.225 88.5867 21.225 88.5867 C 26.7862 86.0624 28.926 75.0384 25.9911 62.9665 C 22.873 50.16 15.2135 41.0258 8.877 42.57 C 5.4926 43.3913 2.4178 46.7793 1.5261 52.0075 C 0.6579 57.0741 1.5993 63.5901 2.6813 67.7687 L 2.6813 67.7687 Z " stroke-width="0.9024999737739563"/>
<path id="Inner_Ear" fill="#929497" stroke="#231F20" stroke-linecap="round" d="M 6.6172 57.1192 C 9.0548 56.075 13.1919 60.2744 15.8588 66.5025 C 18.5229 72.7262 18.7097 78.624 16.2748 79.6673 C 13.8353 80.7097 9.7001 76.5085 7.035 70.2822 C 4.3663 64.0567 4.1813 58.1634 6.6172 57.1192 L 6.6172 57.1192 Z M 17.3379 78.6493 C 7.3003 72.2875 7.4123 56.9622 7.4123 56.9622 " stroke-width="0.9024999737739563"/>
</g>
<path id="Face" fill="#E6E7E8" stroke="#000000" stroke-linecap="round" d="M 33.3429 86.4234 C 34.517 87.2257 43.1964 93.0144 52.6221 95.3627 C 58.8647 96.9231 57.3043 99.9771 57.3043 99.9771 C 57.3043 99.9771 57.5561 99.0539 62.4268 96.9493 C 67.2985 94.8564 66.7137 96.7047 81.2476 93.2544 C 95.7814 89.8159 101.4221 81.3811 102.5881 72.5511 C 103.7054 64.0667 99.1315 58.5533 96.2011 51.1727 C 92.3998 41.6025 82.0057 36.2182 68.5449 36.4863 C 42.9211 36.9917 37.2787 51.3965 37.2787 51.3965 L 37.2399 51.5517 C 42.0033 60.3574 43.9211 79.9805 34.1768 85.8467 C 33.8844 86.0218 33.5884 86.1915 33.2887 86.3539 L 33.3429 86.4234 L 33.3429 86.4234 Z " stroke-width="0.9024999737739563"/>
<path id="Mouth" fill="none" stroke="#231F20" stroke-linecap="round" d="M 56.4397 70.1676 C 77.5428 61.2942 88.9793 69.5764 88.9793 69.5764 " stroke-width="0.9024999737739563"/>
<path id="R_Eye" fill="#FFFFFF" stroke="#000000" stroke-width="1.8049999475479126" d="M 84.2673 57.3106 C 84.8368 59.3601 86.8674 60.7112 89.0425 60.3691 C 91.3854 60.0027 92.9873 57.8268 92.6245 55.5101 C 92.5324 54.9352 92.3285 54.4063 92.0397 53.946 L 84.2673 57.3106 L 84.2673 57.3106 Z "/>
<path id="L_Eye_1_" fill="#FFFFFF" stroke="#000000" stroke-width="1.8049999475479126" d="M 55.6274 54.215 C 54.5291 56.0389 54.9433 58.4387 56.6888 59.7852 C 58.5641 61.2346 61.2464 60.9034 62.6777 59.0497 C 63.0324 58.5912 63.2743 58.0777 63.4133 57.5488 L 55.6274 54.215 L 55.6274 54.215 Z "/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.3 KiB

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cvig26vtcyqmd"
path="res://.godot/imported/pico-d.svg-70b0eb2ee6f86ca392e82f97c8126ba0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/characters/kukemc/pico-d.svg"
dest_files=["res://.godot/imported/pico-d.svg-70b0eb2ee6f86ca392e82f97c8126ba0.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+2 -2
View File
@@ -4,7 +4,7 @@ class_name KukeChild
var masterMine: KukeMC
func register():
fields[FieldStore.Entity.MAX_HEALTH] = 20
fields[FieldStore.Entity.MAX_HEALTH] = 30
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.35
attackCooldownMap[0] = 100
attackCooldownMap[1] = 8000
@@ -22,4 +22,4 @@ func attack(type):
BulletBase.generate(ComponentManager.getBullet("HeavyCrystal"), self, findWeaponAnchor("normal"), position.angle_to_point(currentFocusedBoss.position))
func kill():
if is_instance_valid(masterMine):
masterMine.tryHeal(100)
masterMine.tryHeal(percentHealth(0.05))
+15 -13
View File
@@ -3,27 +3,29 @@ class_name KukeMC
var canSummon: bool = true
func spawn():
texture.play("walk")
func register():
fields[FieldStore.Entity.MAX_HEALTH] = 3500
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.5
attackCooldownMap[0] = 2000
attackCooldownMap[1] = 5000
attackCooldownMap[0] = 4000
attackCooldownMap[1] = 4000
attackCooldownMap[2] = 20000
attackCooldownMap[3] = 2000
attackCooldownMap[3] = 8000
inventory[ItemStore.ItemType.APPLE] = INF
healthChanged.connect(
func(h):
if h < fields[FieldStore.Entity.MAX_HEALTH] * 0.25:
func(_h):
if getHealthPercent() < 0.25:
canSummon = false
for child in EntityTool.findEntityByClass("KukeChild", get_tree()):
if child.masterMine == self:
child.tryKill()
tryHeal(200)
tryHeal(percentHealth(0.1))
)
func ai():
PresetEntityAI.follow(self, currentFocusedBoss, 500)
for i in len(attackCooldownMap.keys()):
tryAttack(i)
tryAttack(i, i in [0])
func attack(type):
if type == 0:
for i in randi_range(8, 16):
@@ -32,18 +34,18 @@ func attack(type):
if bullet is BulletBase:
bullet.baseDamage *= 0.5
await TickTool.millseconds(randi_range(10, 50))
elif type == 1 and health < fields[FieldStore.Entity.MAX_HEALTH] * 0.5 and canSummon:
elif type == 1 and getHealthPercent() < 0.5 and canSummon:
for i in randi_range(1, 2):
var child = EntityBase.generate(ComponentManager.getCharacter("KukeChild"), position + MathTool.sampleInCircle(500))
child.currentFocusedBoss = currentFocusedBoss
child.masterMine = self
elif type == 2:
var countOfBullet = randi_range(40, 50)
var countOfBranch = randi_range(1, 3)
for bulletIndex in countOfBullet:
for branchIndex in countOfBranch:
var bulletCount = randi_range(20, 40)
var branchCount = randi_range(1, 3)
for bulletIndex in bulletCount:
for branchIndex in branchCount:
fields[FieldStore.Entity.OFFSET_SHOOT] = 0
for bullet in BulletBase.generate(ComponentManager.getBullet("PurpleCrystal"), self, findWeaponAnchor("normal"), deg_to_rad(360.0 / countOfBullet * bulletIndex + 360.0 / countOfBranch * branchIndex)):
for bullet in BulletBase.generate(ComponentManager.getBullet("PurpleCrystal"), self, findWeaponAnchor("normal"), deg_to_rad(360.0 / bulletCount * bulletIndex + 360.0 / branchCount * branchIndex)):
if bullet is BulletBase:
bullet.baseDamage *= 0.5
await TickTool.millseconds(100)
+2
View File
@@ -407,6 +407,8 @@ func getItem(items: Dictionary):
inventory[item] = clamp(inventory[item] + items[item], 0, inventoryMax[item])
func getHealthPercent():
return health / fields[FieldStore.Entity.MAX_HEALTH]
func percentHealth(percent: float):
return fields[FieldStore.Entity.MAX_HEALTH] * percent
func getMySummons() -> Array[SummonBase]:
var result: Array[SummonBase] = []
for entity in get_tree().get_nodes_in_group("players" if isPlayer() else "mobs"):