sorry this took so long but here is the code. i changed something not sure what but now it plays half the animation once then glichly does it any time after that.
function on_message(self, message_id, message, sender)
if message_id == hash("play") then
gui.set_enabled(gui.get_node("box_1"), true)
gui.animate(gui.get_node("box_1"), 'color.w', 1, gui.EASING_LINEAR, 0.5, 0, function ()
msg.post("/proxys#loader", "load")
gui.set_enabled(gui.get_node("box_2"), true)
gui.set_enabled(gui.get_node("box_1"), false)
gui.animate(gui.get_node("box_2"), "color.w", 0.5, gui.EASING_LINEAR, 0.5, 0, function ()
gui.set_enabled(gui.get_node("box_2"), false)
end)
end)
end
end
this is what i want it to be doing
animate box_1 to alpha 1
show box_2
hide box_1
init/enable new collection
animate box_2 to alpha .5
hide box_2
thanks