Fine tuning

This commit is contained in:
2025-09-12 23:05:23 +02:00
parent 25287c57fc
commit 0a2143d4c8
18 changed files with 49 additions and 60 deletions

View File

@ -46,4 +46,4 @@ var waves = [
]
var lives = 20
var coins = 1500
var coins = 1000

View File

@ -23,20 +23,20 @@ var waves = [
[40, 0.7, 0.1, 0.2, 0.7], #wave 5
],
[
[2, 0.1, 0.8, 0.2, 0.0], #wave 1 #Fourth Path TOPRIGHT
[3, 0.1, 0.5, 0.5, 0.0], #wave 2
[4, 0.1, 0.4, 0.4, 0.1], #wave 3
[4, 0.1, 0.3, 0.2, 0.5], #wave 4
[4, 0.1, 0.1, 0.2, 0.7], #wave 5
[4, 0.1, 0.8, 0.2, 0.0], #wave 1 #Fith Path BOTTOMRIGHT
[6, 0.1, 0.5, 0.5, 0.0], #wave 2
[8, 0.1, 0.4, 0.4, 0.1], #wave 3
[10, 0.1, 0.3, 0.2, 0.5], #wave 4
[15, 0.1, 0.1, 0.2, 0.7], #wave 5
],
[
[2, 0.1, 0.8, 0.2, 0.0], #wave 1 #Fith Path BOTTOMRIGHT
[3, 0.1, 0.5, 0.5, 0.0], #wave 2
[4, 0.1, 0.4, 0.4, 0.1], #wave 3
[5, 0.1, 0.3, 0.2, 0.5], #wave 4
[5, 0.1, 0.1, 0.2, 0.7], #wave 5
[4, 0.1, 0.8, 0.2, 0.0], #wave 1 #Fith Path BOTTOMRIGHT
[6, 0.1, 0.5, 0.5, 0.0], #wave 2
[8, 0.1, 0.4, 0.4, 0.1], #wave 3
[10, 0.1, 0.3, 0.2, 0.5], #wave 4
[15, 0.1, 0.1, 0.2, 0.7], #wave 5
]
]
var lives = 25
var coins = 800
var coins = 650

View File

@ -25,4 +25,4 @@ var waves = [
]
var lives = 20
var coins = 500
var coins = 350

View File

@ -39,4 +39,4 @@ var waves = [
]
var lives = 25
var coins = 800
var coins = 700

View File

@ -53,4 +53,4 @@ var waves = [
]
var lives = 30
var coins = 1200
var coins = 900

View File

@ -18,4 +18,4 @@ var waves = [
]
var lives = 20
var coins = 800
var coins = 600

View File

@ -32,4 +32,4 @@ var waves = [
]
var lives = 20
var coins = 800
var coins = 700

View File

@ -1556,7 +1556,7 @@ autostart = true
[node name="TrapArea" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="TrapArea"]
position = Vector2(435, 187.5)
position = Vector2(435, 190)
shape = SubResource("RectangleShape2D_rec5e")
debug_color = Color(0.798903, 0.0385002, 1, 0.42)
@ -1577,7 +1577,7 @@ position = Vector2(587, 48)
shape = SubResource("RectangleShape2D_6egdt")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="TowerArea"]
position = Vector2(404.938, 206)
position = Vector2(400, 199)
shape = SubResource("RectangleShape2D_n3ya7")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="TowerArea"]

View File

@ -521,7 +521,7 @@ size = Vector2(1081.5, 2)
size = Vector2(992, 1)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6egdt"]
size = Vector2(1163, 13)
size = Vector2(1163, 54.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_n3ya7"]
size = Vector2(915.093, 2.34375)
@ -533,7 +533,7 @@ size = Vector2(992, 0.656128)
size = Vector2(1161, 2)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sglle"]
size = Vector2(163, 153)
size = Vector2(163, 163)
[node name="Map2" type="Node2D"]
script = ExtResource("1_qncs7")
@ -1586,7 +1586,7 @@ autostart = true
[node name="TrapArea" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="TrapArea"]
position = Vector2(435, 187.5)
position = Vector2(435, 191)
shape = SubResource("RectangleShape2D_rec5e")
debug_color = Color(0.798903, 0.0385002, 1, 0.42)
@ -1603,15 +1603,15 @@ debug_color = Color(0.798903, 0.0385002, 1, 0.42)
[node name="TowerArea" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="TowerArea"]
position = Vector2(587, 48)
position = Vector2(587, 27.25)
shape = SubResource("RectangleShape2D_6egdt")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="TowerArea"]
position = Vector2(350.453, 206)
position = Vector2(350, 198)
shape = SubResource("RectangleShape2D_n3ya7")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="TowerArea"]
position = Vector2(616, 360.328)
position = Vector2(616, 358)
shape = SubResource("RectangleShape2D_xfegu")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="TowerArea"]
@ -1619,7 +1619,7 @@ position = Vector2(579, 521)
shape = SubResource("RectangleShape2D_4tlg5")
[node name="CollisionShape2D5" type="CollisionShape2D" parent="TowerArea"]
position = Vector2(1072.5, 139.5)
position = Vector2(1072.5, 134.5)
shape = SubResource("RectangleShape2D_sglle")
[node name="CanvasLayer" type="CanvasLayer" parent="."]

View File

@ -890,13 +890,13 @@ size = Vector2(672, 4)
size = Vector2(98, 3)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7kmhc"]
size = Vector2(125.5, 1.5)
size = Vector2(125.5, 8.75)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_r25yv"]
size = Vector2(1162, 50)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8x0i6"]
size = Vector2(873, 90.5)
size = Vector2(873, 96)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_n15pr"]
size = Vector2(34, 170)
@ -932,7 +932,6 @@ point_count = 4
script = ExtResource("1_iueon")
[node name="TileMap" type="TileMap" parent="."]
visible = false
z_index = -1
tile_set = SubResource("TileSet_4e145")
rendering_quadrant_size = 64
@ -954,18 +953,17 @@ wait_time = 0.4
autostart = true
[node name="TrapArea" type="Area2D" parent="."]
visible = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="TrapArea"]
position = Vector2(511.5, 148)
position = Vector2(515, 160)
shape = SubResource("RectangleShape2D_ocvl1")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="TrapArea"]
position = Vector2(515, 310)
position = Vector2(517, 317)
shape = SubResource("RectangleShape2D_ocvl1")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="TrapArea"]
position = Vector2(520, 474)
position = Vector2(521, 480)
shape = SubResource("RectangleShape2D_ocvl1")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="TrapArea"]
@ -973,18 +971,17 @@ position = Vector2(47, 313.5)
shape = SubResource("RectangleShape2D_sjmo1")
[node name="CollisionShape2D5" type="CollisionShape2D" parent="TrapArea"]
position = Vector2(993.25, 312.75)
position = Vector2(992, 323.625)
shape = SubResource("RectangleShape2D_7kmhc")
[node name="TowerArea" type="Area2D" parent="."]
visible = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="TowerArea"]
position = Vector2(568, -8)
shape = SubResource("RectangleShape2D_r25yv")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="TowerArea"]
position = Vector2(435.5, 538.75)
position = Vector2(435.5, 536)
shape = SubResource("RectangleShape2D_8x0i6")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="TowerArea"]
@ -1016,7 +1013,6 @@ position = Vector2(984, 569)
shape = SubResource("RectangleShape2D_tsol2")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
visible = false
[node name="SidePanel" parent="CanvasLayer" instance=ExtResource("109_oxd1a")]
size_flags_horizontal = 6
@ -1024,15 +1020,12 @@ size_flags_horizontal = 6
[node name="MusicPlayer" parent="." instance=ExtResource("110_kw68t")]
[node name="Path2D" type="Path2D" parent="."]
visible = false
curve = SubResource("Curve2D_ocvl1")
[node name="Path2D2" type="Path2D" parent="."]
visible = false
curve = SubResource("Curve2D_sjmo1")
[node name="Path2D3" type="Path2D" parent="."]
visible = false
curve = SubResource("Curve2D_7kmhc")
[node name="Setup" type="Node" parent="."]

View File

@ -938,7 +938,6 @@ texture = ExtResource("66_djdyd")
[node name="Castle2" type="Sprite2D" parent="Castle"]
position = Vector2(638.42, 6.98877)
scale = Vector2(1, 1)
texture = ExtResource("66_djdyd")
flip_h = true
@ -991,7 +990,6 @@ position = Vector2(684, 611.063)
shape = SubResource("RectangleShape2D_as1ew")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
visible = false
[node name="SidePanel" parent="CanvasLayer" instance=ExtResource("67_7lums")]
size_flags_horizontal = 6

View File

@ -1008,7 +1008,6 @@ position = Vector2(573.5, 611.063)
shape = SubResource("RectangleShape2D_as1ew")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
visible = false
[node name="SidePanel" parent="CanvasLayer" instance=ExtResource("67_ijw35")]
size_flags_horizontal = 6
@ -1019,19 +1018,15 @@ size_flags_horizontal = 6
script = ExtResource("69_ju5bg")
[node name="Path2D" type="Path2D" parent="."]
visible = false
curve = SubResource("Curve2D_hr4td")
[node name="Path2D2" type="Path2D" parent="."]
visible = false
curve = SubResource("Curve2D_mwr61")
[node name="Path2D3" type="Path2D" parent="."]
visible = false
curve = SubResource("Curve2D_cv1eb")
[node name="Path2D4" type="Path2D" parent="."]
visible = false
curve = SubResource("Curve2D_vltem")
[node name="Decoration" type="Node2D" parent="."]

View File

@ -38,6 +38,7 @@ func _on_timer_timeout() -> void:
if checkend:
endwave = false
get_node("CanvasLayer/SidePanel").Update_waves(currentwave + 1) #updating waves
pause = 40
if currentwave >= waves[0].size():
get_node("CanvasLayer/SidePanel").Update_waves(currentwave) #updating waves
get_node("Timer").stop()