- Mastering Android Game Development
- Raul Portales
- 129字
- 2021-07-16 13:59:08
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.
推薦閱讀
- Go Web編程
- LabVIEW 2018 虛擬儀器程序設(shè)計(jì)
- Cocos2d-x游戲開(kāi)發(fā):手把手教你Lua語(yǔ)言的編程方法
- 構(gòu)建移動(dòng)網(wǎng)站與APP:HTML 5移動(dòng)開(kāi)發(fā)入門(mén)與實(shí)戰(zhàn)(跨平臺(tái)移動(dòng)開(kāi)發(fā)叢書(shū))
- 算法精粹:經(jīng)典計(jì)算機(jī)科學(xué)問(wèn)題的Java實(shí)現(xiàn)
- PHP+MySQL網(wǎng)站開(kāi)發(fā)項(xiàng)目式教程
- Learning Apache Karaf
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- 小程序,巧應(yīng)用:微信小程序開(kāi)發(fā)實(shí)戰(zhàn)(第2版)
- Android傳感器開(kāi)發(fā)與智能設(shè)備案例實(shí)戰(zhàn)
- Instant Debian:Build a Web Server
- Clojure for Java Developers
- C++程序設(shè)計(jì)教程(第2版)
- Python程序設(shè)計(jì)開(kāi)發(fā)寶典
- RocketMQ實(shí)戰(zhàn)與原理解析