mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Make a new FILE API and add a simple error screen in case most thing went down
This commit is contained in:
11
load.lua
11
load.lua
@@ -1,15 +1,16 @@
|
||||
-- Bigint library
|
||||
bigint = require "libs.bigint.bigint"
|
||||
number_names = require "libs.bigint.named-powers-of-ten"
|
||||
require "libs.simple-slider"
|
||||
|
||||
-- Fonts
|
||||
FONT_tromi = love.graphics.newFont('res/fonts/monofonto rg.otf', 28)
|
||||
FONT_big = love.graphics.newFont('res/fonts/monofonto rg.otf', 56)
|
||||
|
||||
local font_height = FONT_tromi:getHeight() * 0.5
|
||||
local font_big_height = FONT_big:getHeight() * 0.5
|
||||
|
||||
-- Bigint library
|
||||
bigint = require "libs.bigint.bigint"
|
||||
number_names = require "libs.bigint.named-powers-of-ten"
|
||||
|
||||
-- BUTTON library
|
||||
require "libs.simple-slider"
|
||||
BUTTON = require "libs.simple-button"
|
||||
BUTTON.setDefaultOption{
|
||||
draw = function(self)
|
||||
|
||||
Reference in New Issue
Block a user