In this project I test all kinds of things related to libGDX. Here you'll find
Please note that I really just smacked most of the code in this repository in place somehow, not caring much about good coding practices, performance or anything that you really should do in actual projects. It's just my playground and I didn't clean up.
Since some people said they used the tests in this project for reference and to learn from them, I thought I'd provide quick instructions on how to run the tests on your machine.
#!bash hg clone https://bitbucket.org/dermetfan/somelibgdxtests cd somelibgdxtests # to generate a jar and run it ./gradlew :desktop:dist # on windows: gradlew.bat :desktop:dist java -jar desktop/build/libs/desktop-1.0.jar # to simply run ./gradlew :desktop:run # on windows: gradlew.bat :desktop:run
To run from eclipse, make sure the working directory of the desktop launch configuration is set to the android project's asset directory. You can configure it this way:
DesktopLauncherconfiguration in the sidebar (if it doesn't exist, press F11 (debug) or Ctrl + F11 (run) in the
DesktopLauncherclass, let it crash and come back)
I don't guarantee that any projects except the core and desktop projects will build. I only test on desktop.