aboutsummaryrefslogtreecommitdiff
path: root/core/constants.lua
diff options
context:
space:
mode:
authorIndrajith K L2022-03-01 18:19:59 +0530
committerIndrajith K L2022-03-01 18:19:59 +0530
commit6227a1c681c0559add922a7e68cd634fcc85df41 (patch)
tree7a01d52d39fe9483ae4788bb40d46c570325ea1f /core/constants.lua
parentf5eaa22a1c9598c9f7a55a41614d1ce4769dee4a (diff)
downloadYEAD-6227a1c681c0559add922a7e68cd634fcc85df41.tar.gz
YEAD-6227a1c681c0559add922a7e68cd634fcc85df41.tar.bz2
YEAD-6227a1c681c0559add922a7e68cd634fcc85df41.zip
* Cosmetic Changes in Menu
* New Fonts Added * Menu rendering changes * Removed Hacky text co-ordinate calculations * Replaced with love.text * Disappearing Notification messages implemented
Diffstat (limited to 'core/constants.lua')
-rw-r--r--core/constants.lua2
1 files changed, 2 insertions, 0 deletions
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)