Easy Parallax Backgrounds in LibGDX

I recently needed to create a parallax background in LibGDX. I did a quick search and the methods I saw mostly relied on how you might implement parallax in other engines/frameworks (namely, drawing two textures that “leapfrog” each other and off-setting them). However I discovered that in LibGDX we can use TextureRegions and texture wrapping to do all the hard work for us.

Read More