Learning Libgdx Game Development
上QQ阅读APP看书,第一时间看更新

Chapter 2. Cross-platform Development – Build Once, Deploy Anywhere

In this chapter you will learn more about the generated Eclipse projects and how they work together. Also, you will learn more about the following components of the Libgdx framework:

  • Backends
  • Modules
  • Application Life-Cycle and Interface
  • Starter Classes

At the end of this chapter, you will take a closer look at the demo application and inspect the generated code of the Main class in great detail. You will learn how to set breakpoints, run the application in debug mode, and speed up your overall productivity with the awesome JVM Code Hot Swapping feature. The discussion on the demo application ends with some simple and fun modifications to the code accompanied by a demonstration of the JVM Code Hot Swapping feature.

After completing this chapter you will be able to deploy, run, and debug the demo application from Chapter 1, Introduction to Libgdx and Project Setup on a desktop (including Windows, Linux, and Mac OS X), on Android, and in a WebGL-capable web browser such as Google Chrome.