In v3.3 everything works fine. After the 3.4 update (which was not so smooth…) I get following error in the cocos code ide console after using scheduleScriptFunc.
@Michael,@DevWario, can you give me the simple demo to reproduct it . I also will check it.
schedule(node, callback, delay) in deprecated.lua and in extern.lua
–@Michael, I think it is a bug by careless, it should place in deprecated.lua.
Hi @samuele3hu,
Thanks for help.
In my game i got a method scheduled to run and create the movement.
local function update(dt)
sprite:setPosition(sprite:getPositionX()+self.velocity, sprite:getPositionY())
self.voidNode:setPosition(self.getViewPointCenter(cc.p(zombie:getPositionX(),centerOfView.y)))
end
when i register the schedule with the method below i got the same error that @Michael.
Can someone pls give an answer?
It’s getting ridiculous. If there is a bug, just say it! If something is forgotten, just say it! But please don’t ignore it.