官术网_书友最值得收藏!

Summary

After a quick introduction to the question of which tools are best to make which types of games, we have described the pros and cons of using the bare Android SDK for making games.

We have set up a project and defined the main activity and its orientation. We have created a basic game engine, included it in the project, and checked whether it works as expected.

Later, we have extended the project with a second fragment and a pause dialog, managed the lifecycle of the game properly, and defined a way to get a proper fullscreen for different Android versions.

Finally, we have covered a few tips on optimizing the code inside the critical sections of the game.

We are ready to start handling the user input.

主站蜘蛛池模板: 三都| 霸州市| 淮南市| 连云港市| 吴忠市| 玉山县| 梁平县| 大宁县| 类乌齐县| 九台市| 昌都县| 梁河县| 南开区| 玉环县| 修武县| 紫金县| 重庆市| 福贡县| 惠水县| 华坪县| 黔南| 呈贡县| 南溪县| 望谟县| 仁寿县| 沐川县| 两当县| 嘉峪关市| 余庆县| 扶沟县| 九江县| 喀什市| 榕江县| 金华市| 宜兰市| 蕉岭县| 柳河县| 叶城县| 政和县| 奇台县| 屏南县|