Remix this into your own project. Use your own designs and amounts for your projects. Note that you need a new variable for each scrolling object. e.x. relative y, relative y 2, relative y 3. This is because if you don't they will be at the same location. Have fun! 500 in any direction is the border. If you want, you can make a stepping animation, but I will not provide that. Also, new theme, new game mechanics, rat+cheese is points, spaceship+asteroids is DON'T HIT AN ASTEROID!!
Got this idea and it's for those making stuff that needs up-down-left-right scrolling. I'll make a new design in the project every week. You can request one and I'll put it on the wait list. Yes advertising but only if you're a small scratcher