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

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.

主站蜘蛛池模板: 甘泉县| 扎兰屯市| 巧家县| 临桂县| 昌黎县| 平原县| 洪泽县| 鄂托克旗| 和静县| 武冈市| 凤阳县| 新源县| 宜宾市| 云南省| 楚雄市| 浦东新区| 阿巴嘎旗| 佛学| 金华市| 和平区| 郧西县| 精河县| 玉环县| 永川市| 临城县| 景东| 泰宁县| 叙永县| 共和县| 教育| 保定市| 西贡区| 阿拉善右旗| 西城区| 互助| 安平县| 台北县| 隆尧县| 山东| 同心县| 房产|