I’m using the tweening (transition.to) to fade in and out some objects in my game, when running this game on the android simulator (on a PC) I’m getting this error message:
WARNING: Attempt to set object.alpha to 1 which is outside valid range. It will be clamped to the range [0,1]
now… I don’t need to tell you that setting an object alpha to 1 should not generate this problem, at some rare cases, the error reads:
WARNING: Attempt to set object.alpha to 1.0001 which is outside valid range. It will be clamped to the range [0,1]
Which makes more sense, but still, should not happen if I use the transition.to to transition my objects alpha to 1, but it’s still alright if the SDK calculates and goes a little overboard, but should no appear when transitioning to 1.
The same part of the game, when run on the simulator on a Mac does not generate this error.
Yuval.