added functionality for various game modes

This commit is contained in:
Derek
2025-02-21 23:19:25 -06:00
parent 9cb57824b1
commit 777063ddeb
19 changed files with 809 additions and 183 deletions

View File

@@ -0,0 +1,34 @@
[gd_resource type="Resource" script_class="gamemode" load_steps=2 format=3 uid="uid://bs8yvpq65yh3w"]
[ext_resource type="Script" path="res://gamemode.gd" id="1_8tp85"]
[resource]
script = ExtResource("1_8tp85")
gamemode_name = "Cookie Mode"
win_conditions = 0
survival_time = 160.0
walk_speed = 5.0
jump_velocity = 5
dash_speed = 5
gravity = -18.0
time_slowed_speed = 3.0
stamina_regen = true
max_stamina = 100.0
stamina_drain = 20.0
air_dash_max = 1
load_save = true
money = 0
start_health = 3
drop_chance_minimum = 0.1
random_drops = false
ammo_drop_enabled = true
expected_ammo = {
"heavy": 25,
"light": 200,
"medium": 50,
"rocket": 3,
"shotgun": 20
}
stamina_drop_enabled = true
health_drop_enabled = true
money_drop_enabled = true

View File

@@ -0,0 +1,32 @@
[gd_resource type="Resource" script_class="gamemode" load_steps=2 format=3 uid="uid://dlvhtdmtln3bb"]
[ext_resource type="Script" path="res://gamemode.gd" id="1_lcpua"]
[resource]
script = ExtResource("1_lcpua")
gamemode_name = "DO NOT GET HIT"
walk_speed = 12.0
jump_velocity = 5
dash_speed = 40
gravity = -18.0
time_slowed_speed = 0.1
stamina_regen = true
max_stamina = 100.0
stamina_drain = 20.0
air_dash_max = 1
load_save = true
money = 250
start_health = 1
drop_chance_minimum = 0.1
random_drops = false
ammo_drop_enabled = true
expected_ammo = {
"heavy": 25,
"light": 200,
"medium": 50,
"rocket": 3,
"shotgun": 20
}
stamina_drop_enabled = true
health_drop_enabled = true
money_drop_enabled = true

View File

@@ -0,0 +1,34 @@
[gd_resource type="Resource" script_class="gamemode" load_steps=2 format=3 uid="uid://65tl6q463gxl"]
[ext_resource type="Script" path="res://gamemode.gd" id="1_d71ib"]
[resource]
script = ExtResource("1_d71ib")
win_conditions = 0
gamemode_name = "no stamina regen, no health drops"
survival_time = 160.0
walk_speed = 12.0
jump_velocity = 5
dash_speed = 40
gravity = -9.8
time_slowed_speed = 0.1
stamina_regen = false
max_stamina = 100.0
stamina_drain = 5.0
air_dash_max = 1
load_save = false
money = 10
start_health = 10
drop_chance_minimum = 0.1
random_drops = false
ammo_drop_enabled = true
expected_ammo = {
"heavy": 25,
"light": 200,
"medium": 50,
"rocket": 3,
"shotgun": 20
}
stamina_drop_enabled = true
health_drop_enabled = true
money_drop_enabled = true

34
GameModes/standard.tres Normal file
View File

@@ -0,0 +1,34 @@
[gd_resource type="Resource" script_class="gamemode" load_steps=2 format=3 uid="uid://dn3t7wcoumlm3"]
[ext_resource type="Script" path="res://gamemode.gd" id="1_litni"]
[resource]
script = ExtResource("1_litni")
gamemode_name = "Standard"
win_conditions = 0
survival_time = 160.0
walk_speed = 12.0
jump_velocity = 5
dash_speed = 40
gravity = -9.8
time_slowed_speed = 0.1
stamina_regen = true
max_stamina = 100.0
stamina_drain = 20.0
air_dash_max = 1
load_save = true
money = 0
start_health = 10
drop_chance_minimum = 0.1
random_drops = false
ammo_drop_enabled = true
expected_ammo = {
"heavy": 25,
"light": 200,
"medium": 50,
"rocket": 3,
"shotgun": 20
}
stamina_drop_enabled = true
health_drop_enabled = true
money_drop_enabled = true