From 998a13b08c43b0813d1d4d38692ea7f8bd31c936 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 21 Oct 2021 16:11:45 +0800 Subject: *misc --- Resources/boot.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Resources/boot.lua') diff --git a/Resources/boot.lua b/Resources/boot.lua index 2c8ef45..9fdf4a9 100644 --- a/Resources/boot.lua +++ b/Resources/boot.lua @@ -8,13 +8,22 @@ local engineCLibs = "./DefaultContent/Libraries/?.dll" local editorCLibs = "./Libraries/?.dll" package.cpath=package.cpath .. ";" .. engineCLibs .. ";" .. editorCLibs +-- debugging +require("LuaPanda").start("127.0.0.1",8818) + -- redirect print = GameLab.Debug.Log --- setup gamelab modules +-- "macros" +GAMELAB_PROFILE = true +GAMELAB_DEBUG = true + +-- load gamelab modules require "GameLab" require "GameLab.Engine" require "GameLab.Engine.Math" require "GameLab.Editor" +require "GameLab.Editor.GUI" -require("LuaPanda").start("127.0.0.1",8818) \ No newline at end of file +-- launch editor +dofile("./Scripts/EditorApplication.lua") \ No newline at end of file -- cgit v1.1-26-g67d0