rainfiel / ejoy2dx Goto Github PK
View Code? Open in Web Editor NEWa wrapper of ejoy2d
a wrapper of ejoy2d
有计划支持那些平台
example/app/winfw.h 中 定义 void init_user_lua_libs(lua_State* L); 没有实现,注销后 lua处报错
screenScale: 2.000000
bounds: x:0.000000 y:0.000000 w:375.000000 h:667.000000
new collide map has saved to:/Users/administrator/Library/Developer/CoreSimulator/Devices/B545512C-9761-4F6A-8366-68E070B33519/data/Containers/Bundle/Application/48EA9CDF-6010-4341-86E0-690AC746D8B1/example.app/asset/data/textures/background/killhouse1r1d_collide.png
...-86E0-690AC746D8B1/example.app/script/battle/collide.lua:129: Can't open file /Users/administrator/Library/Developer/CoreSimulator/Devices/B545512C-9761-4F6A-8366-68E070B33519/data/Containers/Bundle/Application/48EA9CDF-6010-4341-86E0-690AC746D8B1/example.app/asset/data/textures/background/killhouse1r1d_collide.png
stack traceback:
[C]: in function 'ejoy2dx.image.c.image_rawdata'
...-86E0-690AC746D8B1/example.app/script/battle/collide.lua:129: in function 'battle.collide.get_collide_data'
...41-86E0-690AC746D8B1/example.app/script/battle/level.lua:81: in method 'init'
...41-86E0-690AC746D8B1/example.app/script/battle/level.lua:130: in function 'battle.level.new'
...-6010-4341-86E0-690AC746D8B1/example.app/script/main.lua:19: in local 'f'
[string "local path, script, startup = ......"]:12: in main chunk
ejoy2dx/interpreter.lua:240: attempt to call a nil value (field 'print_tbl')
生成的工程 以及自带的例子中
ViewController.m 调用 ejoy2d_fw_touch 的参数个数不对,编译通不过
run: ...ct\xyq\platform\msvc........\src\ejoy2dx\os_utls.lua:4: module 'ejoy2dx.text_input' not found:
no field package.preload['ejoy2dx.text_input']
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc........\src\ejoy2dx\text_input.lua'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc........\src\ejoy2dx\text_input\init.lua'
no file '.\ejoy2dx\text_input.lua'
no file '.\ejoy2dx\text_input\init.lua'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc........\ejoy2d\ejoy2dx\text_input.lua'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc........\ejoy2d\ejoy2dx\text_input\init.lua'
no file '.\ejoy2dx\text_input.lua'
no file '.\ejoy2dx\text_input\init.lua'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc....\script\ejoy2dx\text_input.lua'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc....\script\ejoy2dx\text_input\init.lua'
no file '.\ejoy2dx\text_input.lua'
no file '.\ejoy2dx\text_input\init.lua'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc\output\Debug\ejoy2dx\text_input.dll'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc\output\Debug..\lib\lua\5.3\ejoy2dx\text_input.dll'
no file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc\output\Debug\loadall.dll'
no file '.\ejoy2dx\text_input.dll'
no module 'ejoy2dx.text_input' in file 'D:\Github\ejoy2d\ejoy2dx\project\xyq\platform\msvc\output\Debug\ejoy2dx.dll'
screenScale: 2.000000
bounds: x:0.000000 y:0.000000 w:320.000000 h:568.000000
...-9220-71F85EC260BB/example.app/script/battle/collide.lua:122: attempt to index a nil value (field '?')
stack traceback:
...-9220-71F85EC260BB/example.app/script/battle/collide.lua:122: in function 'battle.collide.get_collide_data'
...7A-9220-71F85EC260BB/example.app/script/battle/level.lua:81: in method 'init'
...7A-9220-71F85EC260BB/example.app/script/battle/level.lua:130: in function 'battle.level.new'
...-D4E3-497A-9220-71F85EC260BB/example.app/script/main.lua:19: in local 'f'
[string "local path, lua_root, lua_main, startup = ......"]:12: in main chunk
init_user_lua_libs 找不到?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.