chore: use Radiance launchers

This commit is contained in:
Kazhnuz 2021-12-04 13:46:20 +01:00
parent c5c8897aa6
commit a4045ba456
4 changed files with 44 additions and 44 deletions

1
debug.sh Executable file
View file

@ -0,0 +1 @@
love ./examples DEBUGLEVEL=4

View file

@ -4,9 +4,9 @@ function love.conf(t)
t.console = false -- Attach a console (boolean, Windows only) t.console = false -- Attach a console (boolean, Windows only)
t.accelerometerjoystick = false -- Enable the accelerometer on iOS and Android by exposing it as a Joystick (boolean) t.accelerometerjoystick = false -- Enable the accelerometer on iOS and Android by exposing it as a Joystick (boolean)
t.gammacorrect = false -- Enable gamma-correct rendering, when supported by the system (boolean) t.gammacorrect = false -- Enable gamma-correct rendering, when supported by the system (boolean)
t.debugLevel = 4 -- Debug level mode : 0=Error only, 3=Everything. t.gameversion = "0.7.0" -- The game version (different than love2D version)
t.window.title = "Birb Engine Examples" -- The window title (string) t.window.title = "Birb Examples" -- The window title (string)
t.window.icon = nil -- Filepath to an image to use as the window's icon (string) t.window.icon = nil -- Filepath to an image to use as the window's icon (string)
t.window.width = 424 -- The window internal width (number) t.window.width = 424 -- The window internal width (number)
t.window.height = 240 -- The window internal height (number) t.window.height = 240 -- The window internal height (number)

View file

@ -22,13 +22,11 @@
]] ]]
require "birb" require "birb"
Game = require "game"
scenes = require "scenes" scenes = require "scenes"
function love.load() function love.load(args)
birb.startCore(3) print(utils.table.toString(args))
game = Game() birb.start("game", args)
game:read(1)
scenes.MainMenu() scenes.MainMenu()
end end

1
launch.sh Executable file
View file

@ -0,0 +1 @@
love ./examples