diff options
-rw-r--r-- | assets/font-big.png (renamed from assets/font3.png) | bin | 1118 -> 1118 bytes | |||
-rw-r--r-- | assets/font-normal.png | bin | 0 -> 1689 bytes | |||
-rw-r--r-- | assets/font2.png | bin | 3539 -> 0 bytes | |||
-rw-r--r-- | main.lua | 8 |
4 files changed, 4 insertions, 4 deletions
diff --git a/assets/font3.png b/assets/font-big.png Binary files differindex 48b2e82..48b2e82 100644 --- a/assets/font3.png +++ b/assets/font-big.png diff --git a/assets/font-normal.png b/assets/font-normal.png Binary files differnew file mode 100644 index 0000000..12dae64 --- /dev/null +++ b/assets/font-normal.png diff --git a/assets/font2.png b/assets/font2.png Binary files differdeleted file mode 100644 index 20ac02f..0000000 --- a/assets/font2.png +++ /dev/null @@ -10,7 +10,8 @@ end -- Should be moved to scene/camera function getScale() - return math.max(1, math.floor(love.graphics.getWidth() / 320)-1, math.floor(love.graphics.getHeight() / 180)-1) + return getRealScale() + --return math.max(1, math.floor(love.graphics.getWidth() / 320)-1, math.floor(love.graphics.getHeight() / 180)-1) end function getRealScale() return math.max(love.graphics.getWidth() / 320, love.graphics.getHeight() / 180) @@ -46,9 +47,8 @@ function love.load() love.graphics.setDefaultFilter("nearest", "nearest") -- Font - -- 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-,!:()[]{}<> - Font = love.graphics.newImageFont("assets/font4.png", " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.,:;-_/\\!@#$%^&*?=+~`|'\"()[]{}<>", -1) - Bold = love.graphics.newImageFont("assets/font3.png", " 0123456789AEFILNORSTUW", -2) + Font = love.graphics.newImageFont("assets/font-normal.png", " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.,:;-_/\\!@#$%^&*?=+~`|'\"()[]{}<>", -1) + Bold = love.graphics.newImageFont("assets/font-big.png", " 0123456789AEFILNORSTUW", -2) Font:setLineHeight(9/16) love.graphics.setFont(Font) |