very basic question about 2d graphics

by joppe » Wed, 17 Mar 2010 04:38:20 GMT


Sponsored Links
 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 can you actually scale a bitmap without it looking like ass? is it
better to upscale a small graphic or vice versa?

how is it that this should be approached?

--



very basic question about 2d graphics

by Kingcrowley » Wed, 17 Mar 2010 06:02:43 GMT


 not a whole pile of experience with gaming..but as a general rule
"scale down" always. This works with audio/video/images. Of course
size is an issue but pngs of this size should be relatively small
anyway

David




--


Sponsored Links


very basic question about 2d graphics

by Kevin Duffey » Wed, 17 Mar 2010 11:57:41 GMT


 Agree.. photos in general (and videos, and even audio) always look as good
when scaled down proportionately. At least that is my experience. Scaling up
requires time consuming steps to make it look better and in real time games,
you'd want to preserve all cycles for the game loop and not scaling
graphics. I believe it can be done with Android tho.





>



very basic question about 2d graphics

by sssdeecee » Wed, 17 Mar 2010 13:59:14 GMT


 In my opinion, and if you want the best possible look... you should
make several versions of the graphics (re: chess pieces).

I agree with the others, never upscale if you can help it.

However, downscaling will never result in clarity as good as graphics
that were rendered for specific resolutions.

Given the nature of Android, you couldn't possibly make graphics for
every possible screen resolution. The ideal solution would be to make
three sizes (or more) and downscale from the next closest size.

Unfortunately, you must contend with the memory limits of Android (and
the reason I am NOT developing for Android any longer).






--



Other Threads

1. Android Platform Profiling

Hi Everyone

I have successfully brought up a OMAP24240 target running Android with
YAFFS2 and UBIFS file systems. I am now trying to identify the
performance overheads associated at every level like the application,
file system, DVM, File Translation Layer, Linux IO scheduler etc. I am
primarily interested in measuring the flash memory read/write
performance. Is there any standard application available already for
the Android platform for profiling such a scenario?

Thanks in advance
Rajib

--~--~---------~--~----~------------~-------~--~----~

2. how can i upload audio file into res/raw folder

hi.
i am new to android and i want devlop a mediaplayer so i want to
upload my audio file into my res/raw folder so how can i upload my
audio file into res/raw folder in my project .
anyone have any suggestion ?
plz give me suggestion i need it very badly .
thanks.
jaimin
--~--~---------~--~----~------------~-------~--~----~

3. video playing in grayscale mode on dream

4. how to put OMX audio decoder in IDLE strate at the end of playback

5. Records not loading from database in listview

6. Records not loading from database in listview

7. Detect end of scroll/fling in Gallery