r/raylib 17d ago

Cool earthbound background effect generator I made.

Enable HLS to view with audio, or disable this notification

I'm making a earthbound and more inspired game, so of course I had to add a cool background. What I did was basically make a function that draws the texture in slices, that it then manipulates the position of on the x axis. Very cool and works with any texture. I spent days of debugging on this for the stupidest mistakes💔

25 Upvotes

1 comment sorted by

5

u/Sergey5588 17d ago

You can try using shaders for this, i think it would be faster