Hybrid View

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
    chicob is on a distinguished road

      0  

    Default Opacity transition between scenes

    Opacity transition between scenes


    Hi,

    I'm producing an interactive picture book project using Sencha Animator and I've pretty much learned my way around it. I am not however a Javascript ninja. Each picture book page is a scene and clicking a button will trigger the next scene. I don't like the sudden transition tho.

    Does anyone have a tip for adding a soft fade-in/out transition between scenes? I would love to do a page-flip effect like "20 Things I Learned About Browsers and the Web" but an opacity transition would do fine for now.

    Thanks for any help.

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    Currently the best way to do this would be to modify/add your own javascript to the exported file to handle scene transitions (not trivial).

    Another way of doing transitions, perhaps not very elegant, is to create new scenes between your current scenes where you animate the transition. This can be hard to maintain because you now need to make sure the beginning of the transition scene is always identical to the last state of the previous scene, and the end of the transition scene is identical to the beginning of the next scene.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
    chicob is on a distinguished road

      0  

    Default


    I thought as much. Yes, that was my first DIY solution, but it won't be seamless I think, as triggering a page advance would occur anytime in the animation loop. Unless of course I allow the page advance only after a pause in the animation.

    I'll experiment with that. Also with some DIY Javascript if I can manage.

    Thanks for the prompt reply!

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi