Book Image

LibGDX Game Development By Example

By : James Cook
Book Image

LibGDX Game Development By Example

By: James Cook

Overview of this book

Table of Contents (18 chapters)
LibGDX Game Development By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Looking closer – Android


First up, we will look at Android as a platform to publish the package to, and deploy the package.

Upon opening the project that we just set up, you will notice a few differences from what we had before. Note that there are many more useful directories and we now have one directory for Android, HTML, and iOS. If you open up the core directory, you will see that the asset directory has disappeared, it is now in the Android directory. Your structure should look similar to the following:

Thanks to the setup tool, a lot has been preconfigured for us. So much so that we can launch the Android simulator with just one command line. However, before we do that, I suggest that you run the desktop version first just to confirm that we have the default "Hello World" application working.

Did that work for you? Excellent!

Now, we should try running the simulator. Personally, I rarely use the simulator, I much prefer loading it onto a real device. I just want to show you that this...