Update all remaining games to use text_scaled with scale=2
Updated games: - pong.lua: All text now uses text_scaled with scale=2 - air_hockey.lua: All text now uses text_scaled with scale=2 - asteroids.lua: All text now uses text_scaled with scale=2 - ball.lua: All text now uses text_scaled with scale=2 - breakout.lua: All text now uses text_scaled with scale=2 - counter.lua: All text now uses text_scaled with scale=2 - flappy_bird.lua: All text now uses text_scaled with scale=2 - lunar_lander.lua: All text now uses text_scaled with scale=2 - snake.lua: All text now uses text_scaled with scale=2 - tetris.lua: All text now uses text_scaled with scale=2 All 14 games now have consistent 2x text scaling for better readability.
This commit is contained in:
@@ -71,10 +71,10 @@ function draw()
|
||||
|
||||
-- Draw status
|
||||
if game.vars.state == STATE_PAUSED then
|
||||
renderer.text(10, 10, "PAUSED - Tap to start", true)
|
||||
renderer.text_scaled(10, 10, "PAUSED - Tap to start", true, 2)
|
||||
else
|
||||
renderer.text(10, 10, "Frames: " .. tostring(game.vars.frame_count), true)
|
||||
renderer.text(10, 25, "Tap to pause", true)
|
||||
renderer.text_scaled(10, 10, "Frames: " .. tostring(game.vars.frame_count, 2), true)
|
||||
renderer.text_scaled(10, 25, "Tap to pause", true, 2)
|
||||
end
|
||||
|
||||
-- Draw velocity vector
|
||||
|
||||
Reference in New Issue
Block a user