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

Apps very basic question about 2d graphics

Discussion in 'Android Development' started by mrqs, Jan 30, 2010.

  1. mrqs

    mrqs Android Expert
    Thread Starter
    Rank:
    None
    Points:
    128
    Posts:
    1,446
    Joined:
    Sep 28, 2009

    say you've decided to make a chess game (i'm not, but it's a good example for this)

    so you grab a nice square portion of the screen and divide it in to 8x8 tiles, coloring every other white, every other black - that's easy enough

    then you want to use those fancy looking png chess pieces you've made in photoshop, but depending on the device, 1 tile on your chess board can be anything from 10x10 to 100x100 pixels without exaggerating much

    so how do you make a graphic object nicely scalable? do you have to use vector graphics for everything or can you scale a bitmap?
    i imagine scaling a bitmap chess piece would look awful?
    and if vectors are the answer, can you just make an svg and use it like any bitmap, or do you have to actually code the drawing (can get massively complex) ?
     

    Advertisement

  2. mrqs

    mrqs Android Expert
    Thread Starter
    Rank:
    None
    Points:
    128
    Posts:
    1,446
    Joined:
    Sep 28, 2009

    *shameless bump*
     

Share This Page

Loading...