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

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.

主站蜘蛛池模板: 武宣县| 客服| 长葛市| 阳信县| 利川市| 长沙县| 诏安县| 靖江市| 宝坻区| 巍山| 澄江县| 济南市| 鹿邑县| 新巴尔虎左旗| 福州市| 佛坪县| 苏尼特左旗| 资阳市| 区。| 大庆市| 卫辉市| 潼南县| 板桥市| 乌拉特前旗| 盐池县| 罗山县| 沾化县| 建阳市| 乌兰察布市| 东宁县| 津南区| 当雄县| 乃东县| 舞阳县| 大庆市| 万山特区| 五家渠市| 水城县| 章丘市| 鸡泽县| 连州市|