about transitions

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 :)

views:1462 update:2011/10/13 16:30:09
corona forums © 2003-2011