experiments
This commit is contained in:
@@ -204,13 +204,13 @@ void renderPlayer(Player *plr) {
|
||||
}
|
||||
|
||||
|
||||
renderBar(mainRenderer, (DISPLAY_WIDTH / 2) - 128, DISPLAY_HEIGHT - 50, 200, 8, playerMaxHealth, plr->health,
|
||||
renderBar(mainRenderer, (DISPLAY_WIDTH / 2) - 128, DISPLAY_HEIGHT - 70, 200, 8, playerMaxHealth, plr->health,
|
||||
healthBarColor, 4);
|
||||
|
||||
if (plr->cursor.targetTile) {
|
||||
uint16_t tempko = getBreakTime(plr->cursor.targetTile->type);
|
||||
uint16_t tempko2 = plr->cursor.breakingProgress;
|
||||
renderBar(mainRenderer, (DISPLAY_WIDTH / 2) - 128, DISPLAY_HEIGHT - 70, 200, 8,
|
||||
renderBar(mainRenderer, (DISPLAY_WIDTH / 2) - 128, DISPLAY_HEIGHT - 90, 200, 8,
|
||||
tempko, tempko2, breakingBarColor, 4);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user