提交 3d1ca385 编写于 作者: baidwwy's avatar baidwwy 🏋

安卓

上级 68e405d2
-- @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:12:27
print('ggerun',arg[1])
if arg[1]=='android' then
print('ggerun', arg[1])
复制文件('assets/test.mp3', './assets/test.mp3')
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:27
-- @Last Modified time : 2022-03-23 10:55:57
-- @Last Modified time : 2022-04-28 06:12:32
local SDL = require('SDL')
引擎 =
......@@ -11,8 +11,9 @@ local SDL = require('SDL')
高度 = 600,
帧率 = 60
}
function 引擎:初始化()
music = require('SDL.音乐')('../../../assets/test.mp3'):播放(true)
music = require('SDL.音乐')('assets/test.mp3'):播放(true)
end
function 引擎:更新事件(dt, x, y)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册