Invert is a toggle. It is 1 or 0. Invert or not inverted.
Since 50% inverted does not exist (yes it does in your mind, that is why your mind is so beatyfull) there is no tweening possible.
You can ofcourse dissolve from not-inverted-state to inverted-state. But even that can not force the inbetween steps to make any sense. Then again, if no inbetween step can ever make sense, we can just feed something nice to the eye. In video i would probaly go for a dissolve that blends in a linear color space, or a soft circulair wipe.
This is an example of just dissolving from one state to the other.
https://www.dropbox.com/s/n7bpvdgvario9 ... .capx?dl=0
Hope at least you have something at the way how i use a timer.
Greetings.
Thanks your example is awesome
Its being 1 hour but i did not get what you have done with background, when i am moving it in layout to out of layout its showing black and in layout its showing as white. It makes me confuse because their is no effect on that sprite but how its showing black.
and can you explain me how this lerp is working
lerp(100,0,Sprite.Timer.CurrentTime("steps")/second)
Edited
one thing more
i had take 3 seconds just for example
actually I want to stay for some time in both inverse position
It will take 10 s or 15 seconds
first 2or3 seconds to invert then let stay for 10 seconds then invert 2or3 seconds then again stay
i have found you make 2 layers you positioned object just behind them in other layout
but in my game objects are not still every second they are creating randomly and moving
so I don't think this will work in that case
or it may possible if created in same position just behind the layer I don't have any way of doing this
May be I have to remove this feature
Actually I have done this with invert effect already invert is happening
why i am doing this ?? My purpose is
I want to make game a little size in mb 5-8 mb
for that I will build apk without using Crosswalk for android
but If I use WebGl effect its doing game slow (I have tested)
If i build apk using crosswalk then my game will be 30mb
that is the reason I am doing this
I have game ideas
some are small Projects some are big Projects based on Single Tap game
Big Project is having combination features of Subway Surfer & Candy Crush ( I have in my mind)
But I don't have ability to make them possible
I am wishing to make a big project but have no ability
So I am trying little games