Flappy Beard [Day 5] – Calibrating game for different device densities, optimizing for tablets

Until today, I didn’t test the game on other screen densities. But since almost all UI in the game is aligned to screen edges or middle of the screen, the number of elements which had to have hardcoded coordinates is minimal. The game helper class calculates positions depending on the device density for these few exceptions.

Also today I’ve run the game for the first time on a tablet. Well, it’s not smooth enough and there were few graphical glitches. I’ve optimized therefore a little bit the tubes rendering. Now everything is running more-less at a reasonable speed.

Time do to some testing if the game is hard enough like the original.

* * * * *