Hello,
I started the War Battles tutorial and I wanted to try the hot reload feature.
When I change the value for “self.speed = 50”, hot reload does not work.
I read this documentation regarding hot reloading script:
Here is the script:
function init(self) -- [1]
msg.post(".", "acquire_input_focus") -- [2]
self.moving = false -- [3]
self.input = vmath.vector3() -- [4]
self.dir = vmath.vector3(0, 1, 0) -- [5]
self.speed = 50 -- [6]
end
How can use Hot Reload to tweak a script in this tutorial ?
Thank you for you help.