refactor and rename cassette system

- Rename cassette references throughout codebase
- Update scene files and scripts for consistency
- Refactor cassette.gd and related components
- Update player, enemy, and phonebooth interactions
- Sync game_over and pause_screen with new structure
This commit is contained in:
bigmstone committed 2026-10-04 15:43:24 -06:00
1 parent acdee757cb
commit 3f6b9dc8cc
17 files changed
+24 -55

No files matched your search

+3 -5
View File
@@ -326,14 +326,13 @@ func _process(_delta):
var dir: bool = 1
func _physics_process(delta):
print(GlobalData.death_counter)
if Input.is_action_just_pressed("slash_weapon"):
weapon = 1
GlobalData.weapon = 1
if Input.is_action_just_pressed("gun"):
weapon = 2
GlobalData.weapon = 2
$Label.text = str(int(GlobalData.cassets))
$Label.text = str(int(GlobalData.cassettes))
if Input.is_action_just_pressed("right"):
dir = 1
$ColorRect5.global_position = $Marker2D3.global_position
@@ -695,7 +694,7 @@ func _wallJump():
var horizontalWallKick = abs(jumpMagnitude * cos(wallKickAngle * (PI / 180)))
var verticalWallKick = abs(jumpMagnitude * sin(wallKickAngle * (PI / 180)))
velocity.y = -verticalWallKick
var dir = 1
dir = 1
if wallLatchingModifer and latchHold:
dir = -1
if wasMovingR:
@@ -754,8 +753,7 @@ func _endGroundPound():
gravityActive = true
func _placeHolder():
print("")
pass
func shoot():
pass