I'm continuing
an earlier discussion in a thread with
@bowerandy and following up on a comment from
@paulclinger. I've managed to get Live coding working in ZeroBrane but I'm seeing some screen update issues. When I run my attached project and play with the slider to reposition the "click buttons to play sounds" label I get ghosting or trailed drawing of the label as it updates to the new position.
Is this a known issue or am I doing something wrong?
Comments
function Application:clearStage()
while stage:getNumChildren()>0 do
stage:removeChildAt(1)
end
end
> "calling" require "Livepad" at the bottom of my main.lua forces me to add require for all of its dependencies
Forces how? Does it fail when you don't do this?
> where originally (when all code from Livepad was inlined in main.lua) I could directly invoke code in other lua files without using a require. Is the subtle difference documented or explained somewhere? Could somebody explain the difference?
Gideros allows you to not specify "require" as it will preload all Lua files you include in your project (unless you specify excludeFromExecution="1"). You can still use explicit "require" if you want.
Regarding the manual removal, I'll have to look at your examples closer to see if I follow when/where you call this clearStage function. I missed it in all the excitement of watching the original video and wanting to dive right in.