From 0a643053af42ae04c91614adbd6ccda9307270bb Mon Sep 17 00:00:00 2001 From: lightheel Date: Wed, 6 Aug 2025 12:21:30 -0400 Subject: [PATCH] Adjusted HP text color and size. --- .../vbhelper/screens/BattlesScreen.kt | 50 ++++++++++++++++--- 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt b/app/src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt index cb1d3d6..212047e 100644 --- a/app/src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt +++ b/app/src/main/java/com/github/nacabaro/vbhelper/screens/BattlesScreen.kt @@ -595,8 +595,15 @@ fun MiddleBattleView( // Enemy HP display numbers Text( text = "Enemy HP: ${battleSystem.opponentHP.toInt()}/${opponentCharacter?.baseHp ?: 100}", - fontSize = 14.sp, - color = Color.Black + fontSize = 16.sp, + color = Color.LightGray, + style = TextStyle( + shadow = Shadow( + color = Color.Black, + offset = androidx.compose.ui.geometry.Offset(2f, 2f), + //blurRadius = 2f + ) + ) ) Spacer(modifier = Modifier.height(16.dp)) @@ -811,8 +818,15 @@ fun MiddleBattleView( // Player HP display numbers Text( text = "HP: ${battleSystem.playerHP.toInt()}/${activeCharacter?.baseHp ?: 100}", - fontSize = 14.sp, - color = Color.Black + fontSize = 16.sp, + color = Color.LightGray, + style = TextStyle( + shadow = Shadow( + color = Color.Black, + offset = androidx.compose.ui.geometry.Offset(2f, 2f), + //blurRadius = 2f + ) + ) ) Spacer(modifier = Modifier.height(6.dp)) @@ -959,6 +973,9 @@ fun PlayerBattleView( Box( modifier = Modifier.fillMaxSize() ) { + // Animated Battle Background + AnimatedBattleBackground(modifier = Modifier.fillMaxSize()) + // Top section: Exit button, HP bar, and HP numbers Column( modifier = Modifier @@ -1005,8 +1022,15 @@ fun PlayerBattleView( // Health display numbers Text( text = "HP: ${battleSystem.playerHP.toInt()}/${activeCharacter?.baseHp ?: 100}", - fontSize = 14.sp, - color = Color.Black + fontSize = 16.sp, + color = Color.LightGray, + style = TextStyle( + shadow = Shadow( + color = Color.Black, + offset = androidx.compose.ui.geometry.Offset(2f, 2f), + //blurRadius = 2f + ) + ) ) } @@ -1287,6 +1311,9 @@ fun EnemyBattleView( Box( modifier = Modifier.fillMaxSize() ) { + // Animated Battle Background + AnimatedBattleBackground(modifier = Modifier.fillMaxSize()) + // Top section: Enemy HP bar and HP numbers Column( modifier = Modifier @@ -1306,8 +1333,15 @@ fun EnemyBattleView( // Enemy HP display numbers Text( text = "Enemy HP: ${battleSystem.opponentHP.toInt()}/${activeCharacter?.baseHp ?: 100}", - fontSize = 14.sp, - color = Color.Black + fontSize = 16.sp, + color = Color.LightGray, + style = TextStyle( + shadow = Shadow( + color = Color.Black, + offset = androidx.compose.ui.geometry.Offset(2f, 2f), + //blurRadius = 2f + ) + ) ) }