From 6227a1c681c0559add922a7e68cd634fcc85df41 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Tue, 1 Mar 2022 18:19:59 +0530 Subject: * Cosmetic Changes in Menu * New Fonts Added * Menu rendering changes * Removed Hacky text co-ordinate calculations * Replaced with love.text * Disappearing Notification messages implemented --- core/constants.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/constants.lua') diff --git a/core/constants.lua b/core/constants.lua index 5284e6d..7077f1f 100644 --- a/core/constants.lua +++ b/core/constants.lua @@ -2,6 +2,8 @@ constants = {} constants.resetBgColor = {0.15, 0.15, 0.15} constants.resetFgColor = {1, 1, 1} +constants.defaultFontSize = 12 +constants.defaultFont = love.graphics.newFont('assets/fonts/C800.ttf', constants.defaultFontSize) function constants:resetColors() love.graphics.setColor(constants.resetFgColor) -- cgit v1.2.3