Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I just learned that you shouldn't use capitals in package names from the libgdx project creator. It will actually give you a warning if you try to give it a package name with a capital. Do you know what the reason for no using capitals is? Will it cause in problems if you do use them? Some of my old android games have capitals in the package name so was wondering if that could turn into a problem?

I have checked the java documentation, and it just says it's to avoid conflicts with class names.

(Source: http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html

Quote: "Package names are written in all lower case to avoid conflict with the names of classes or interfaces.")

So as long as you don't have classes named the same as your packages you are fine!