Thx for your top job !
I was wondering : how can you change fxTime in a someScreen.lua file ?
Do you plan zoom in / out transitions ?
Thx
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Thx for your top job !
I was wondering : how can you change fxTime in a someScreen.lua file ?
Do you plan zoom in / out transitions ?
Thx
No you can't at present as it's defined as local to the director class.
It might be a nice idea if Richardo changed the various transition functions so that you could pass in the fxTime.
Ricardo?
I can create a function to change these variables, no problem about that.
Try this at director.lua file:
1 2 3 4 5 | function director:changeFxTime ( newFxTime ) if type(newFxTime) == "number" then fxTime = newFxTime end end |
Thanks, saves changing all the other functions. Could you please add it to 1.2 also - ta
Sure!
Great ! I ask a question, you not only give an answer, you give a solution !
Many thx :)