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

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.

主站蜘蛛池模板: 天柱县| 峡江县| 嘉祥县| 弥勒县| 崇州市| 日喀则市| 青海省| 定日县| 庆城县| 溆浦县| 垦利县| 孝义市| 榆林市| 舟山市| 睢宁县| 策勒县| 清新县| 定襄县| 南木林县| 师宗县| 资溪县| 遂溪县| 新竹县| 昌邑市| 陇西县| 晋中市| 奉新县| 湘乡市| 屏山县| 江孜县| 中宁县| 收藏| 闸北区| 藁城市| 新宁县| 开平市| 都江堰市| 上思县| 涪陵区| 新丰县| 隆回县|