Hi guys /
@hgy29I'm using Physics Editor (Code and Web), to export physics shapes.
In the Android / Desktop players, loading the physics lua file as per the instructions, works fine.
scaleFactor = 1.0
physics = (loadfile "physics.lua")().physicsData(scaleFactor)
In HTML5 however, I seem to get an error.
Is there anything I can do about this?
Thank you!
Comments
Sorry, I forgot to post that! Here is what I get ...
[Warning] WebGL: INVALID_OPERATION: framebufferRenderbuffer: no framebuffer bound (gideros.js, line 1)
[Log] physics.lua Not found in archive (gideros.html, line 103)
[Log] *callFile* stack NOT ok begin:1 end:3 delta:-1 (gideros.html, line 103)
[Log] main.lua:2: attempt to call a nil value (gideros.html, line 103)
stack traceback:
main.lua:2: in main chunk
(luac): in main chunk
No issues running it in the Android player tho.
Likes: totebo, Ninjadoodle
Thanks heaps for your help
Likes: Ninjadoodle, antix