-
Notifications
You must be signed in to change notification settings - Fork 0
Fix pfscorebars for four players #1103
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The playfield score bars need to be fixed to properly support four-player mode.
Current Issue:
The pfscorebars system currently only supports players 1 and 2. Players 3 and 4 health bars are not implemented.
Current Implementation:
UpdatePlayer1HealthBar- updatespfscore1for player 1UpdatePlayer2HealthBar- updatespfscore2for player 2HealthBarSystem.basline 10: "P3/P4 health will be implemented separately"FrameBudgeting.basreferencesUpdateHealthBarPlayer0-3functions
Investigation Needed:
- Review how pfscorebars are currently implemented in
Source/Routines/HealthBarSystem.bas - Check
FrameBudgeting.basfor existingUpdateHealthBarPlayer0andUpdateHealthBarPlayer3functions - Determine how to display players 3 and 4 health bars (may need different approach than pfscore1/pfscore2)
- Verify all four players have proper score bar rendering in 4-player mode
- Check if player 3 and player 4 score bars are correctly positioned and displayed
- Ensure score bar colors match player colors in 4-player mode
Related Files:
Source/Routines/HealthBarSystem.bas- main health bar systemSource/Routines/FrameBudgeting.bas- frame-budgeted health bar updatesSource/Common/MultiSpriteKernel.s- kernel score renderingSource/Routines/GameLoopMain.bas- game loop health bar updates
Technical Notes:
- Multisprite kernel uses
pfscore1andpfscore2registers - Players 3 and 4 may need alternative rendering method (playfield graphics, sprites, or different score registers)
- Health bars use 8-pixel bit patterns (0-8 pixels filled from right to left)
- Health thresholds: 12, 24, 36, 48, 60, 72, 84 (split on 12s)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request