1. Download our Official Android App: Forums for Android!

Apps 2d canvas bitmap sprite sheet animation help

Discussion in 'Android Development' started by Handroidgames, Oct 13, 2011.

  1. Handroidgames

    Handroidgames Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    6
    Joined:
    Aug 5, 2011

    Aug 5, 2011
    6
    0
    5
    i want to create a basic animation with a sprite sheet.
    there is only one row with about 2 pics (that's the first animation).
    does anyone have a good tutorial? i looked up some and i couldn't find anything easy to understand.
    thanks!
     

    Advertisement

  2. JiMMaR

    JiMMaR Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    363
    Joined:
    Jun 12, 2010

    Jun 12, 2010
    363
    57
    53
    are you using any engine ?
     
  3. mattwien

    mattwien Lurker
    Rank:
    None
    Points:
    26
    Posts:
    7
    Joined:
    Oct 26, 2011

    Hi Handroidgames,

    I'd really recommend to use an engine to do this tasks.
    I know about two free engines arround: e3roid and Andengine.

    I've also put some information about the two engines in my blog:
    Game Development | Matthias's Android Game Development

    Both engines have some good tutorials and examples to get into it quite easy.
    I also had some difficulties to build everything from scratch - and you can save so much time when you just use a 2d engine.
     
  4. jonbonazza

    jonbonazza Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    If you are going for 2d games, you should use the OpenGL ES wrapper classes (or even Native code using the NDK if you can) to do your drawing. Until SDK v14 (current), the Canvas API is not hardware accelerated, and is very slow.
     

Share This Page

Loading...