I am a newbie to the libGDX game development framework.
Can anybody explain the purpose of the “desktop” application? Is it necessary to create a “desktop” application for my android application? Is it because the class which launches my main application is in my desktop application?
Sorry for asking such lame questions. Kindly help me out and clear my basic understanding regarding such things.
Thanks in advance!
The purpose of the library the way it’s designed is to allow you to create all of your game logic in a way that doesn’t depend on the platform. That way your game can run on Windows/Linux/MacOS/Android.
As a result you can run your game while you’re testing right on your desktop, saving you from having to package an APK and deploy it to an Android emulator or device. Your development goes much quicker that way (plus you get free support for platforms other than Android).