Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Aug 2013
    Posts
    1
    Vote Rating
    0
    MosephJoe is on a distinguished road

      0  

    Default Is Javascript Necesarry for simple animations ?

    Is Javascript Necesarry for simple animations ?


    Hello,

    I have made a small animation (like a continuously bouncing ball). It should not need any Javascript to work. But when I remove the JS controller the image does not even display.

    Is there a way to export simple CSS-only animations? And if not is there a proper way to remove the JavaScript from animations that don't require it?


    Thanks

  2. #2
    Sencha - Architect Dev Team
    Join Date
    Apr 2012
    Posts
    219
    Vote Rating
    21
    miro.bojic will become famous soon enough miro.bojic will become famous soon enough

      0  

    Default


    Hi MosephJoe,

    Animator exports include a lightweight JS for switching between scenes and timelines, and handling any interaction that you might have added to your animation. The JS controller triggers the animation by setting which scene should run at the beginning, so if you remove it, no scene will be run - this is why you animation appears not to be working after manually removing the controller.

    If you only need CSS keyframe description, you can open the HTML file after export and locate @keyframes CSS line. To make it easier to spot, you can give the object in question (in your example the bouncing ball) an easy to identify ID under base-object->general->id.

  3. #3
    Sencha User
    Join Date
    Aug 2013
    Posts
    3
    Vote Rating
    0
    PricePeter is on a distinguished road

      0  

    Default


    JS is really fit for simple animation in fact i already seen some animation stuff using JS.

Thread Participants: 2

Tags for this Thread