Research and Development of LibGDX-based Android Game
- Author
- WuQingLin
- Advisor
- HuTianMing , HanGuoQiang
- School
- South China University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 285
- Citations
- 0
Abstract
With the development of mobile terminals, especially the emergence of smart phoneslike iPhone and Android terminals, it is becoming increasingly easy for people to enjoyelectronic games anywhere anytime. Compared to traditional PC, due to the limitation ofsmart phones on factors like performance and configuration, their requirement for gamedevelopment technologies is more demanding.In this thesis, I design and implement the pet collection game, a casual puzzle game forAndroid. The development is done using libGDX, an Android game engine based on OpenGLES technology. The two versions of the pet collection game are realized with Androidapplication framework and libGDX game development framework, respectively.The main content of this thesis is as follows. Chapter I introduces the background ofmobile game research. Chapter II describes the key technologies of Android gamedevelopment on Android application framework and libGDX game development framework,respectively. Chapter III elaborates the overall design and functional modules of the Androidpet collection game. Chapter IV offers an in-depth study of the resource management moduleof libGDX game development framework, and proposes the resource recovery mechanism toaddress its shortcomings. Chapter V tests the system and validates the resource recoverymechanism.The highlight of this thesis lies in the study of libGDX. In particular, through thedevelopment of the pet collection game, I analyze the advantages of libGDX in the Androidgame development and make the corresponding recommendations. In the meantime, toaddress the weakness of resource management of libGDX, I propose the solution of resourcerecovery mechanism for libGDX. Finally, experiments are carried out to test and compare thetwo versions of the game. The experimental results not only validate the analysis of libGDX,but also confirm the efficacy of the proposed solution of resource recovery, which brings thegame performance into full play in low-end mobile phones.
Table of contents
Summary 5-6
Abstract 6-9
first chapter 9-16
1.1 Introduction 9-11 <br / > 1.2 mobile game development status 11-12
1.3 Android 's strengths and weaknesses 12-14
1.3.1 Android unique advantages 12-13
1.3.2 Android deficiencies and their causes 13-14
1.4 significance of the study subjects 14
1.5 the main work and organizational structure 14 - 16
Chapter II Android game development of key technologies 16-32
2.1 Android system Introduction 16-18
2.2 system Architecture 18-21
2.2.1 application layer 18
2.2.2 application framework layer 18-19
2.2.3 system runtime layer 19-20
2.2.4 operating system layer 20-21
2.3 Android game development framework 21-22
2.4 Android data storage 22-24 <br / > 2.4.1 Shared Preferences 22-23
2.4.2 file storage 23
2.4.3 SQLite storage 23
2.4.4 Content Provider 23
2.4.5 network Storage 23-24
2.5 LibGDX framework Introduction 24-25
2.6 LibGDX framework lifecycle 25 -27
2.6.1 LibGDX program entry 25-26
2.6.2 ApplicationListener 26
2.6.3 LibGDX program life cycle 26 - 27
2.7 to create an Android-based application libGDX game development framework 27-28
2.7.1 to create a master project 27
2.7.2 Creating Android project 27-28
2.8 LibGDX frame module structure 28-31
2.8.1 input Module 29
2.8.2 image module 29 -30
2.8.3 file module 30
2.8.4 audio module 30-31
2.9 Summary 31-32
Chapter 3, \3.3 System interface Design 34-36
3.3.1 stage 34
3.3.2 actor 34
3.3.3 camera 34 -35
3.3.4 texture 35
3.3.5 game interface design 35-36
3.4 system features modular design 36-39 <br / > 3.4.1 system Function block Diagram 36-37
3.4.2 model module 37
3.4.3 interface display module 37
3.4 .4 logic control module 37-38
3.4.5 configuration management module 38
3.4.6 menu module 38
3.4.7 resource Management module 38-39
3.5 Summary study 39-40
Chapter LibGDX resource management framework and improvement 40-50
4.1 LibGDX framework for resource management 40-41
4.1.1 LibGDX resource management framework design and implementation lack nbsp 40-41
4.1.2 LibGDX resource management framework exists ; 41
4.2 LibGDX recovered framework resource management mechanism 41-49
4.2.1 resource recovery algorithm 42-47
4.2.2 resource Management module has achieved recovery mechanism 47-49
4.3 Summary tested and validated 49-50
Chapter V system 50-61
5.1 test environment 50
5.2 system running the test 50-53
5.2.1 game scene rendering test 50-51
5.2.2 game performance test 51 -53
5.3 development framework based on testing different systems to achieve relatively 53-57
5.3.1 develop more efficient 54-56
5.3.2 game performance Compare 56
5.3.3 game effect is 56-57
5.4 resource recovery mechanism to verify the effect of 57-60
5.4.1 in this system recycle verification mechanisms 57
5.4.2 resource recovery mechanisms in the validation protocol verification 57-60
5.5 Summary 60-61 <br / > summary and Outlook 61-62
This paper summarizes 61
job prospects 61-62
References 62-65
obtained a master's degree during the research 65-66
Thanks 66
Related dissertations
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee
- Design and Implementation of Smart Home System Based on Android Platform
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System
- The Design and Implementation of Multi-functional Smart Home System
- Research on Intelligent Home Furnishing system based on Android
- Remote Robot Control Technology Based on Android System
- Design of Small Mobile Robot System Based on Android