Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions main_menu/main_menu.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ text = "Exit"
layout_mode = 2
theme_override_constants/margin_left = 450

[node name="Label" type="Label" parent="."]
offset_left = 615.0
offset_top = 495.0
offset_right = 1335.0
offset_bottom = 616.0
text = "Reccomended To Read Gameplay Tips For First Time Players"
horizontal_alignment = 1

[connection signal="pressed" from="CanvasLayer/VBoxContainer/VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="CanvasLayer/VBoxContainer/VBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"]
[connection signal="pressed" from="CanvasLayer/VBoxContainer/VBoxContainer/GameplayTips" to="." method="_on_gameplay_tips_pressed"]
Expand Down
3 changes: 3 additions & 0 deletions main_menu/tips_menu.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ size_flags_horizontal = 4
size_flags_vertical = 6
theme_override_font_sizes/normal_font_size = 40
text = "General Tips
WASD and the arrow keys are general movement
Dash with SPACE, you dash in the direction of your current movement
Aim with your mouse if your technique does not have an auto aim modifier, in which case it will aim at the nearest enemy.
Toggling
You can toggle your techniques by pressing the number it is associated with
Which is the order in which you attined the technique
Expand Down
1 change: 1 addition & 0 deletions mob.gd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const speed_multiplier: float = 300

func _ready() -> void:
if(%border.scale == Vector2(1.4, 1.4)):
stat_dist = 4
%Gun.caster = self
%Gun.get_random_ranged_technique()
%Gun.set_level(level)
Expand Down
4 changes: 4 additions & 0 deletions new_style_box_flat.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://cntu03xpepvw8"]

[resource]
bg_color = Color(0, 0, 0, 1)
8 changes: 3 additions & 5 deletions player.gd
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func add_exp(newExp : float):
while(exp > exp_max):
exp -= exp_max
level_up()
exp_max+=9*pow(level/10 +1, 2)
exp_max+=9*pow(level/10+1,2)
set_exp_bar()


Expand Down Expand Up @@ -175,12 +175,10 @@ func level_up():
func increase_stage():
# multiply_stats((level/10) + 1)
#Multiplies the new stat distribution

stat_dist*=(level/10) + 1
exp_max *= pow(level/10+1,2)
lvl_up_screen.show_stage_screen(stat_dist * 5)

stat_dist*=(level/10) + 1
exp_max *= pow((level/10) + 1, 2)

print("Stage Increased")
const GUN = preload("res://gun.tscn")
var new_gun = GUN.instantiate()
Expand Down
5 changes: 5 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ dash={
]
}

[internationalization]

rendering/text_driver="ICU / HarfBuzz / Graphite (Built-in)"

[layer_names]

3d_physics/layer_2="player"
Expand All @@ -204,3 +208,4 @@ common/physics_interpolation=true
[rendering]

renderer/rendering_method="gl_compatibility"
textures/vram_compression/import_etc2_astc=true
2 changes: 1 addition & 1 deletion ranged_mob.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=6 format=3 uid="uid://bm7so46qbiyjw"]
[gd_scene load_steps=6 format=3 uid="uid://doqgf8r5okijx"]

[ext_resource type="Script" uid="uid://tyhkc1p8gbp0" path="res://mob.gd" id="1_j7qvj"]
[ext_resource type="AudioStream" uid="uid://blvrytjmxkmq7" path="res://zapsplat_multimedia_game_sound_retro_thump_hit_92335.mp3" id="2_6pbl0"]
Expand Down
9 changes: 5 additions & 4 deletions tower_survival.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,11 @@ position = Vector2(1368, 358)
position = Vector2(822, 142)

[node name="Label" type="Label" parent="."]
offset_left = 660.0
offset_top = 663.0
offset_right = 1026.0
offset_bottom = 985.0
offset_left = 464.0
offset_top = 642.0
offset_right = 1222.0
offset_bottom = 964.0
theme_override_font_sizes/font_size = 21
text = "WASD, and arrow keys to move
SPACE to dash
Mouse to aim for all non auto aim skills
Expand Down
14 changes: 10 additions & 4 deletions ui/level_up_ui/level_up_screen.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://bs0ndmavguhjt"]
[gd_scene load_steps=4 format=3 uid="uid://bs0ndmavguhjt"]

[ext_resource type="Script" uid="uid://bhahthbrxvo8b" path="res://ui/level_up_ui/level_up_screen.gd" id="1_nsbu3"]
[ext_resource type="PackedScene" uid="uid://c77e14ah7wv7x" path="res://ui/stage_up_ui/stage_up_screen.tscn" id="2_7l22l"]
[ext_resource type="StyleBox" uid="uid://cntu03xpepvw8" path="res://new_style_box_flat.tres" id="2_y22qg"]

[node name="LevelUpScreen" type="Control" node_paths=PackedStringArray("stage_up_container", "stage_up_screen", "stat_point_label", "increase_text_field", "lv_old_label", "lv_new_label", "str_old_label", "str_new_label", "gra_old_label", "gra_new_label", "pow_old_label", "pow_new_label", "con_old_label", "con_new_label", "def_old_label", "def_new_label", "hp_old_label", "hp_new_label", "qi_old_label", "qi_new_label", "qi_regen_label", "qi_new_regen_label")]
process_mode = 3
Expand Down Expand Up @@ -302,6 +303,7 @@ theme_override_constants/margin_left = 25
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/STRPlusHBox"]
layout_mode = 2
theme_override_font_sizes/font_size = 23
theme_override_styles/normal = ExtResource("2_y22qg")
text = "Strength increases
health and pierce damage"

Expand All @@ -326,6 +328,7 @@ theme_override_constants/margin_left = 25
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/GRAPlusHBox"]
layout_mode = 2
theme_override_font_sizes/font_size = 23
theme_override_styles/normal = ExtResource("2_y22qg")
text = "Grace increases movement speed
and decreases \"wait_time\", the amount
of time that passes before a technique is used"
Expand All @@ -351,6 +354,7 @@ theme_override_constants/margin_left = 25
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/POWPlusHBox"]
layout_mode = 2
theme_override_font_sizes/font_size = 23
theme_override_styles/normal = ExtResource("2_y22qg")
text = "Power increases AoE size and
max Qi"

Expand All @@ -375,6 +379,7 @@ theme_override_constants/margin_left = 25
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/CONPlusHBox"]
layout_mode = 2
theme_override_font_sizes/font_size = 23
theme_override_styles/normal = ExtResource("2_y22qg")
text = "Control reduces ability cooldowns and
increases Qi recovery rate"

Expand All @@ -399,6 +404,7 @@ theme_override_constants/margin_left = 25
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/DEFPlusHBox"]
layout_mode = 2
theme_override_font_sizes/font_size = 23
theme_override_styles/normal = ExtResource("2_y22qg")
text = "Defense reduces incoming damage and
lowers Qi costs"

Expand All @@ -410,7 +416,7 @@ alignment = 1
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/HealthDescHBox"]
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "Health increases max HP"
text = "Health is your vital force"

[node name="QIDescHbox" type="HBoxContainer" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox"]
layout_mode = 2
Expand All @@ -420,7 +426,7 @@ alignment = 1
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/QIDescHbox"]
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "Qi is consumed to use activated abilities"
text = "Qi is the fuel for your abilities"

[node name="QIRegenDescHbox" type="HBoxContainer" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox"]
layout_mode = 2
Expand All @@ -430,7 +436,7 @@ alignment = 1
[node name="Label" type="Label" parent="Panel/VBoxContainer/HBoxContainer/AddingStatsVBox/QIRegenDescHbox"]
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "Qi regen is the rate at which Qi restores"
text = "Qi regen is your Qi/s"

[node name="StageUpContainer" type="VBoxContainer" parent="Panel/VBoxContainer/HBoxContainer"]
layout_mode = 2
Expand Down
2 changes: 1 addition & 1 deletion wave.gd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends Area2D
var technique = "null"

var travelled_disance := 0
var speed := 2000
var speed := 250
var technique_size := 500
var value:float = 0
var element = "creation"
Expand Down
2 changes: 1 addition & 1 deletion wave.tscn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://byovmacaboly2"]

[ext_resource type="Script" path="res://wave.gd" id="1_sj2kr"]
[ext_resource type="Script" uid="uid://bhdn2j5xk8tvv" path="res://wave.gd" id="1_sj2kr"]

[node name="Wave" type="Area2D"]
top_level = true
Expand Down