Properly display balls and strikes #3
Loading…
Reference in New Issue
No description provided.
Delete Branch "proper-balls-and-strikes-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
But only when the count isn't 0 - 0
@ -24,0 +33,4 @@
local text = tostring(balls) .. " - " .. tostring(strikes)
local textWidth = ScoreFont:getTextWidth(text)
local widthDiff = BallStrikeWidth - textWidth
ScoreFont:drawText(text, x + (widthDiff / 2), y + 4)
Where does the magic 4 come from 🤔
You're honestly so real for that