balance changes
This commit is contained in:
parent
0fc71532e2
commit
040d419a27
16 changed files with 203 additions and 17 deletions
|
|
@ -31,7 +31,10 @@ mult_value = 1.0
|
|||
material = SubResource("ShaderMaterial_wdi07")
|
||||
|
||||
[node name="Hat" parent="CanvasGroup" index="1"]
|
||||
position = Vector2(-12, -83)
|
||||
position = Vector2(-13, -82)
|
||||
|
||||
[node name="Sprite" parent="CanvasGroup/Hat" index="0"]
|
||||
position = Vector2(1, 0)
|
||||
texture = ExtResource("3_0nlp0")
|
||||
|
||||
[node name="Eatbox" parent="." index="2"]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://hhjbqkjqpt7x"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://hhjbqkjqpt7x"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://co11v3w8hbwgf" path="res://scenes/entities/Zombies/zombie.tscn" id="1_3dq4c"]
|
||||
[ext_resource type="Shader" uid="uid://d0eo5uuj222c4" path="res://assets/shaders/CG_color_blender.gdshader" id="2_2dq8e"]
|
||||
[ext_resource type="Script" uid="uid://fd4im1fmwc5n" path="res://scripts/components/Armor.cs" id="3_5s7in"]
|
||||
[ext_resource type="Script" uid="uid://dt5uj25u0g6y3" path="res://scripts/components/particles/FallParticle.cs" id="3_w70im"]
|
||||
[ext_resource type="Texture2D" uid="uid://ceqvdmude7cgg" path="res://assets/sprites/cone.tres" id="4_qdhik"]
|
||||
[ext_resource type="Script" uid="uid://c3cfnrmnnuqms" path="res://addons/floatmodifiers/FloatModifiers.cs" id="4_qof5v"]
|
||||
|
||||
|
|
@ -12,6 +13,8 @@ shader = ExtResource("2_2dq8e")
|
|||
shader_parameter/blend_color = Color(1, 1, 1, 1)
|
||||
shader_parameter/amount = 0.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_67t4t"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_w70im"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("4_qof5v")
|
||||
|
|
@ -32,10 +35,28 @@ _armor = NodePath("Armor")
|
|||
[node name="CanvasGroup" parent="." index="0"]
|
||||
material = SubResource("ShaderMaterial_sat5k")
|
||||
|
||||
[node name="Hat" type="Sprite2D" parent="CanvasGroup" index="1"]
|
||||
position = Vector2(-12, -88)
|
||||
[node name="Hat" type="RigidBody2D" parent="CanvasGroup" index="1" node_paths=PackedStringArray("data", "deathTimer")]
|
||||
position = Vector2(-12, -78)
|
||||
collision_layer = 128
|
||||
collision_mask = 64
|
||||
mass = 0.5
|
||||
center_of_mass_mode = 1
|
||||
freeze = true
|
||||
script = ExtResource("3_w70im")
|
||||
data = NodePath("../..")
|
||||
deathTimer = NodePath("Timer")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="CanvasGroup/Hat" index="0"]
|
||||
position = Vector2(2, -10)
|
||||
texture = ExtResource("4_qdhik")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CanvasGroup/Hat" index="1"]
|
||||
position = Vector2(4, -4)
|
||||
shape = SubResource("CircleShape2D_67t4t")
|
||||
|
||||
[node name="Timer" type="Timer" parent="CanvasGroup/Hat" index="2"]
|
||||
wait_time = 5.0
|
||||
|
||||
[node name="Eatbox" parent="." index="2"]
|
||||
_damage = SubResource("Resource_w70im")
|
||||
|
||||
|
|
@ -46,4 +67,5 @@ _speed = SubResource("Resource_qof5v")
|
|||
script = ExtResource("3_5s7in")
|
||||
_maxHP = 130
|
||||
|
||||
[connection signal="ArmorLost" from="Armor" to="CanvasGroup/Hat" method="queue_free"]
|
||||
[connection signal="timeout" from="CanvasGroup/Hat/Timer" to="CanvasGroup/Hat" method="queue_free"]
|
||||
[connection signal="ArmorLost" from="Armor" to="CanvasGroup/Hat" method="FallOff"]
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@ percentage_value = 0.0
|
|||
mult_value = 1.0
|
||||
|
||||
[node name="Hobo" node_paths=PackedStringArray("_armor") instance=ExtResource("1_fnu7s")]
|
||||
_maxHP = 130
|
||||
_armor = NodePath("CanArmor")
|
||||
|
||||
[node name="CanvasGroup" parent="." index="0"]
|
||||
|
|
@ -237,7 +238,7 @@ _speed = SubResource("Resource_4248q")
|
|||
|
||||
[node name="CanArmor" type="Node" parent="." index="7"]
|
||||
script = ExtResource("4_w8pya")
|
||||
_maxHP = 180
|
||||
_maxHP = 385
|
||||
metadata/_custom_type_script = "uid://fd4im1fmwc5n"
|
||||
|
||||
[node name="Behaviour" type="Node" parent="." index="8" node_paths=PackedStringArray("_eatBox", "_animationTree")]
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ blend_mode = 1
|
|||
size = Vector2(32, 29)
|
||||
|
||||
[node name="Garlic" instance=ExtResource("1_5i0e6")]
|
||||
_maxHP = 600
|
||||
_maxHP = 200
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = ExtResource("2_w2jbi")
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ resource_local_to_scene = true
|
|||
size = Vector2(20, 44)
|
||||
|
||||
[node name="Peashooter" instance=ExtResource("1_pyk3o")]
|
||||
_maxHP = 100
|
||||
_maxHP = 30
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = ExtResource("2_14qlx")
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ size = Vector2(15, 27)
|
|||
size = Vector2(34, 19)
|
||||
|
||||
[node name="Potato mine" instance=ExtResource("1_dj7ul")]
|
||||
_maxHP = 100
|
||||
_maxHP = 20
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = ExtResource("2_sneas")
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
[ext_resource type="PackedScene" uid="uid://b1hjjbdwf1rtc" path="res://scenes/templates/plant_template.tscn" id="1_vmbvr"]
|
||||
[ext_resource type="Texture2D" uid="uid://coafh3mjharxo" path="res://assets/sprites/atlases/plants/spikeweed.png" id="2_ffrjr"]
|
||||
[ext_resource type="Script" path="res://scripts/components/plants/AreaAttack.cs" id="3_hqtbm"]
|
||||
[ext_resource type="Script" uid="uid://co7ttejdo2qot" path="res://scripts/components/plants/AreaAttack.cs" id="3_hqtbm"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://cen6ku4y01dyg" path="res://resources/animations/plants/spikeweed.res" id="3_nwshn"]
|
||||
[ext_resource type="Script" path="res://scripts/components/plants/behaviours/SpikeweedBehaviour.cs" id="3_uhpn7"]
|
||||
[ext_resource type="Script" uid="uid://dqquodxaijmem" path="res://scripts/components/plants/behaviours/SpikeweedBehaviour.cs" id="3_uhpn7"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_lmfqg"]
|
||||
animation = &"spikeweed/idle"
|
||||
|
|
@ -26,7 +26,6 @@ blend_mode = 1
|
|||
size = Vector2(49, 38)
|
||||
|
||||
[node name="Spikeweed" instance=ExtResource("1_vmbvr")]
|
||||
_maxHP = 100
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = ExtResource("2_ffrjr")
|
||||
|
|
@ -36,7 +35,7 @@ frame = 8
|
|||
|
||||
[node name="AnimationPlayer" parent="." index="1"]
|
||||
libraries = {
|
||||
"spikeweed": ExtResource("3_nwshn")
|
||||
&"spikeweed": ExtResource("3_nwshn")
|
||||
}
|
||||
|
||||
[node name="AnimationTree" parent="." index="2"]
|
||||
|
|
|
|||
|
|
@ -55,12 +55,13 @@ transitions = ["Start", "sunflower_idle", SubResource("AnimationNodeStateMachine
|
|||
size = Vector2(26, 48)
|
||||
|
||||
[node name="Sunflower" instance=ExtResource("1_bikjn")]
|
||||
_maxHP = 30
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = ExtResource("2_fwcda")
|
||||
hframes = 9
|
||||
vframes = 2
|
||||
frame = 2
|
||||
frame = 1
|
||||
|
||||
[node name="AnimationPlayer" parent="." index="1"]
|
||||
libraries = {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ blend_mode = 1
|
|||
size = Vector2(33, 46)
|
||||
|
||||
[node name="Wallnut" instance=ExtResource("1_fluxn")]
|
||||
_maxHP = 1000
|
||||
_maxHP = 450
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
texture = ExtResource("2_o5tda")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue