Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Strange Error — Gideros Forum

Strange Error

hgvyas123hgvyas123 Guru
edited April 2014 in General questions
Below code gives me error sometime
myChannel = bubbleHitSound:play()
myChannel:setVolume(0.5)
where bubbleHitSound is less then 1 second sound

here is the error which i am getting in desktop player

ocenaTrainingFinal5.lua:391: attempt to index global 'myChannel' (a nil value)
stack traceback:
ocenaTrainingFinal5.lua:847: in function

also i am playing this in onBeginContact if that is important and at line 847 i have this code self.world:step(1/30, 8, 3)

Thanks

Comments

Sign In or Register to comment.