OOT: Met Hari Bumi

by Justinus U A » Thu, 22 Apr 2010 09:32:22 GMT


Sponsored Links
 Hari Bumi diperingati pada tanggal 22 April secara Internasional Hari Bumi
dirancang untuk meningkatkan kesadaran dan apresiasi terhadap planet yang
ditinggali manusia ini yaitu bumi. Dicanangkan oleh Senator USA Gaylord
Nelson tahun 1970 seorang pengajar lingkungan hidup. Tanggal ini bertepatan
pada musim semi di Northern Hemisphere (belahan bumi utara) dan musim gugur
di belahan selatan. PBB sendiri merayakan hari bumi pada 20 Maret sebuah
trdisi yang dicanangkan aktivis perdamaian John McConnell pada tahun 1969,
adalah hari dimana matahari tepat diatas katulistiwa yang sering disebut
Maret Equinox.

-- 
Salam,
Jus
~ pake web google mail ajah ~
 http://jus2005.multiply.com/ 

-- 
"



Other Threads

1. Animation flicker when change to flipped version.

Hi,

I am writing a simple game. I created a sprite sheet for animations,
and I can move the character on the screen left and right. The
character animation graphics on the sprite sheet are all facing
"right".

My approach to make the character face to a different direction is to
created a flipped version of the sprite sheet, and draw the character
depending on its orientation:

        playerBitmap = BitmapFactory.decodeResource
(res,sprite_drawable_rid);

        sprite_sheet_width = playerBitmap.getWidth();
        sprite_sheet_height = playerBitmap.getHeight();

        Matrix aMatrix = new Matrix();
        aMatrix.preScale(-1.0f, 1.0f);
        flippedPlayerBitmap =
                Bitmap.createBitmap(playerBitmap, 0, 0,
                                                        sprite_sheet_width, 
sprite_sheet_height,
                                                        aMatrix, false);

...................................
                if (isFacingLeft()) {
                        c.drawBitmap(flippedPlayerBitmap, src, dst, null);
                }
                else {
                        c.drawBitmap(playerBitmap, src, dst, null);
                }

But when the character change direction, the character "flick"
obviously. I am not sure if it is because I don't have an animation
for the transition, or technically I am doing something stupid. Anyone
has any ideas??

thx!
Ron
--~--~---------~--~----~------------~-------~--~----~

2. How can I specify radius and radii to a drawable resource element

Is this possible as a subelement of "<resources>"?
Or do I have to create a separate xml file in the "/res/drawable" sub directory?

Thanks
Satya

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

3. SMS Inbox: 2008's toughest problem ( At least for me)

4. Template for End User Licence Agreement

5. using Music application

6. Sharing a MapView between two Activities

7. InstrumentationTestCase for UI integration testing