Android Development

Rapid android development from Berlin

Browsing Posts published in March, 2010

While my last design was a good decision at first (I like dark themes) the majority like light themes.
During some comments about the design, the readability and the usability, I decided to change the design.
I am a passable programmer, for Android and Web, but if I would create my own design, nobody would stay here to read articles. Thats the reason why I took, again, a free and non customized design for WordPress. Its called Arjuna-X.

If you see something doesn’t work or is simply bad, just leave a comment and I will try to change it.

Share

The second part of this series will show you how you can scroll smoothly over the simple 2D Map which was created in the first part.

Note: I changed my coding style to fit the Java/Android coding style. Please be aware that variables like _mapSize are now mMapSize.

The performance issue we discovered in the first part was awful and no one will play a game which needs seconds to draw another frame. But why do we have this performance issue?
Do you remember how we draw the Map? We go trough the map in a loop and draw each cell. If our map has only a size of 10, everything is fine, but if we go to 100 and more, we draw a lot of cells and most of them are not on our display. And thats the mistake: We use resources and time to draw cells we don’t see.
continue reading…

Share
Powered by WordPress Web Design by SRS Solutions © 2012 Android Development Design by SRS Solutions