hi
I'm working on a tetris game these days and I use matrix from
http://lua-users.org/wiki/LuaMatrix.
It work well on giderplayer,however,after export to android project and run in my nexus s,it just show a white screen.
I make sure this is caused by the matrix by add the following code to the jumping ball's main.lua
local matrix = require 'matrix'
m1 = matrix{{8,4,1},{6,8,3}}
m2 = matrix{{-8,1,3},{5,2,1}}
assert(m1 + m2 == matrix{{0,5,4},{11,10,4}})
and it also show a white screen in my nexus and it work well after removing these lines.
Comments
https://sites.google.com/site/xraystudiogame
staticBox.lua:54: attempt to call global 'matrix' (a nil value)
stack traceback:
staticBox.lua:54: in function 'makeNextBox'
gamePlay.lua:86: in function 'nextBox'
gamePlay.lua:73: in function 'setupBox'
gamePlay.lua:41: in function 'init'
[string "property.lua"]:151: in function 'new'
common/scenemanager.lua:273: in function 'changeScene'
main.lua:11: in function 'changSceneTo'
main.lua:16: in main chunk
https://sites.google.com/site/xraystudiogame
117 local matrix = {_TYPE='module', _NAME='matrix', _VERSION='0.2.10.20111203'}
thanks so much!
https://sites.google.com/site/xraystudiogame