提交 77d55ed1 编写于 作者: baidwwy's avatar baidwwy 🏋

安卓

上级 3d1ca385
-- @Author : GGELUA
-- @Date : 2022-01-17 02:57:37
-- @Last Modified by : baidwwy
-- @Last Modified time : 2022-01-22 14:19:27
-- @Last Modified time : 2022-04-28 06:14:18
print('ggerun',arg[1])
if arg[1]=='android' then
print('ggerun', arg[1])
复制文件('assets/simsun.ttc', './assets/simsun.ttc')
if arg[1] == 'android' then
编译目录('ggelua')
编译目录('./lua')
-- for path,rel in 遍历目录('./data') do
......@@ -15,5 +16,4 @@ if arg[1]=='android' then
-- end
写出脚本('./assets/ggelua')
else
end
\ No newline at end of file
end
-- @Author : GGELUA
-- @Last Modified by : baidwwy
-- @Date : 2022-03-23 10:09:30
-- @Last Modified time : 2022-03-23 11:24:09
-- @Last Modified time : 2022-04-28 06:14:24
local SDL = require('SDL')
引擎 =
......@@ -13,7 +13,7 @@ local SDL = require('SDL')
}
function 引擎:初始化()
ttf = require('SDL.文字')('../../../assets/simsun.ttc', 20)
ttf = require('SDL.文字')('assets/simsun.ttc', 20)
rect = require('SDL.矩形')(200, 50, 100, 100)
rect2 = require('SDL.矩形')(200, 50, 50, 50)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册