Filip
Filip

Reputation: 41

How to add libgdx to an existing android studio project?

My game is from scratch made without libgdx extensions, but now I want the libgdx extension so I can have box2d and some other extensions. What is the easiest and most effective way of importing that?

I know there are posts like this on stackoverflow, but I have massive problems importing libgdx. A detailed tutorial would be very appreciated. Thanks!

Upvotes: 0

Views: 1360

Answers (1)

AAryan
AAryan

Reputation: 20140

You can easily integrate box2d and other extensions in libgdx.

Hopefully you're using gradle in your current libgdx project for dependency management.

put box2d-dependency in corresponding module and refresh gradle.

Other extensions
https://libgdx.com/wiki/articles/dependency-management-with-gradle#libgdx-extensions

Upvotes: 1

Related Questions