Heres the error
Copyright (C) 2009-2015 C o r o n a L a b s I n c . Version: 3.0.0 Build: 2015.2649 Platform: GenericAndroidDevice / x64 / 6.2 / Intel(R) HD Graphics 4400 / 4.3.0 - Build 10.18.14.4156 / 2015.2649 Loading project from: c:\users\r\documents\main game\faller Project sandbox folder: C:\Users\r\AppData\Roaming\Corona Labs\Corona Simula tor\Sandbox\faller-332F76B49DD69FFFBF37170BA7F3BD1E\Documents WARNING: display.setStatusBarMode() not supported in the simulator for GenericAn droidDevice device Warning: could not load font HelveticaNeue-Light. Using default font. Warning: could not load font HelveticaNeue-Light. Using default font. test test Runtime error c:\users\r\documents\main game\faller\game.lua:50: attempt to index local 'e vent' (a nil value) stack traceback: c:\users\r\documents\main game\faller\game.lua:50: in function \<c:\u sers\r\documents\main game\faller\game.lua:48\> ?: in function \<?:221\>
and heres the code,
local onCollision = function(self,event) if event.phase == "began" then --this is line 50.. local hit = self.value local other = event.other.value if other == 1 then display.remove( circle[hit] ) circle[hit] = nil end end end box:addEventListener("collision", onCollision)
and the for the “other value” its the box image… box.value = 1…
when the circle collides with the box corona give me that error… its on line 50…
thanks for help in advance…
