Log In  
4

Cart [#25597#] | Copy | Code | 2016-07-20 | Link
4

I made this bit of code for creating a parallax effect for side-scrolling games. It uses three layers of infinitely repeating maps. I've set it up so that all the code is in a self-contained section that can be copied and pasted below your own code, with just an initialise, update and draw function needing to be called from the respective functions in your game.

More complete instructions can be found in the header of the code.

I hope somebody finds it useful!

:)

infinite repeating scrolling parallax map
P#25598 2016-07-20 04:33


:: More
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2017-05-28 02:55 | 0.202s | 1572k | Q:14