android - How to repeat a background texture in libgdx -


i developing small game in android libgdx. have given background actor , added scrolling effect. want repeat image in background.

thanks in advance

what searching called "parallax background". in libgdx forums there thread 2 classes support several layers , different scrolling speeds.

furthermore there test uses different approach, modifying camera.

i think first classes more clean way it. use myself , works pretty well.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -