playing with taco town level, need to roll back to just level design next though

This commit is contained in:
2025-07-15 22:34:04 -05:00
parent 2a39a6fe90
commit e3ad39f206
6 changed files with 59 additions and 271 deletions

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -85,7 +85,7 @@ func fire(barrel):
instance_bullet.target_type = character.enemy_type instance_bullet.target_type = character.enemy_type
get_tree().get_root().add_child(instance_bullet) get_tree().get_root().add_child(instance_bullet)
character.audio_fire.play() character.audio_fire.play()
spawn_casing() #spawn_casing() DISABLING TO SEE IF THIS IS JUMPING UP FRAME TIME
func spawn_casing(): func spawn_casing():
var instance_casing = character.casing.instantiate() var instance_casing = character.casing.instantiate()

View File

@@ -143,7 +143,7 @@ func die():
gamemode.apply_weapon_penalty() gamemode.apply_weapon_penalty()
if GameGlobals.player_deaths: if GameGlobals.player_deaths:
GameGlobals.player_deaths += 1 GameGlobals.player_deaths += 1
SaveLoad.save_user_data() #SaveLoad.save_user_data()
var deadmsg = DEAD_ANNOUNCE.instantiate() var deadmsg = DEAD_ANNOUNCE.instantiate()
get_parent().add_child(deadmsg) get_parent().add_child(deadmsg)
var instance_dead = DEAD_PLAYER.instantiate() var instance_dead = DEAD_PLAYER.instantiate()

View File

@@ -4,6 +4,8 @@ class_name PlayerOnFoot
func Enter(): func Enter():
character.jumps_remaining = character.MAX_JUMPS character.jumps_remaining = character.MAX_JUMPS
if character.land_sound: #tweak to get around weird loading in error
character.land_sound.play()
func Physics_Update(delta): func Physics_Update(delta):
if character.is_on_floor(): if character.is_on_floor():