i’ve want to add a game to the community but when i creates the html5 bundle i got the error
the module '/timer.lua' can't be found
i’ve want to add a game to the community but when i creates the html5 bundle i got the error
the module '/timer.lua' can't be found
Can you run the game in the editor at all? You should not require “timer” (or any of the standard modules like “go”, “vmath” etc). It’s already part of the runtime.
i use it for whaiting
hi dad
Yes, but you should not require it. It is already required automatically for you.
hi kid
i can run the program in the editor
I’ve had this before.
You can build in editor, but not HTML5 or other if you define a module incorrectly like:
local my_lua_module = "modules.my_lua_module"
It should be
local my_lua_module = require "modules.my_lua_module"
(example with your lua module at /modules/my_lua_module.lua)
And also - listen to your dad