1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    1
    Vote Rating
    0
    LocalGhost is on a distinguished road

      0  

    Question Sprite Animations inside project possible?

    Sprite Animations inside project possible?


    I was wondering what would be the most efficient way to add a sprite animation, such as a character walking, to a project made with Sencha animator.

    So far I'm really impressed with this tool, but in order for me to buy it, I need to know that I can make it animate sprite sheets ( hacks are welcome).

    Cheers!

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

      0  

    Default


    We are working on getting better sprite support into the app.

    In the meantime, here are two ways that might work

    1) In animator create an square object and set the overflow to hidden. Inside this object add an image object (your sprite sheet). Then you can animate the inner object and add two keyframes for each sprite. E.g. keyframe 1 at 0s shows sprite 1, keyframe 2 at 0.10s shows sprite 1, keyframe 3 at 0.101s shows sprite 2... etc...

    2) Include some custom js, in the start action that will change the image position
    Code:
    //psudeo code
    
    get sprite sheet
    setInterval
         move sprite sheet so next sprite is shown

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    archie73 is on a distinguished road

      0  

    Default Is it available in the latest download

    Is it available in the latest download


    I am looking for a way to add sprite animations as well, and wondering if this was added to the tool or we still have to use the method you describe.

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

      0  

    Default


    Not added to the tool yet, so you would have to used one of the methods described above.

Thread Participants: 2

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