Was playing around with trying to create backdrop effects similar to Alto’s adventures and it grew legs into a simple side scrolling endless runner. Nowhere near as pretty as Alto but reasoably happy with the mountains as a first go.
Pretty sweet background!
Nice! This kind of parallax scrolling reminds me of the 16 bit days, “Shadow of the Beast” and so on. The code is one long draw loop, and that also reminds me of the 16 bit days!
@West Cool backgrounds. Is it making new mountains that come from the right and deleting the mountains the leave?
is your pushMatrix and PopMatrix() flipped? you gotta push before you can pop.
How might this be optimized to run faster?
cute runner game
@Goatboy76 yes pretty much. Don’t actual delete the mountains just reposition them to the far right once they’ve passed out the left of the screen
@matkatmusic probably - I always get muddled between the two. There’s more than likely plenty that could be done to optimise but it’s fine for my purposes as a simple game
Good work @West - nice to see you back on here again
Hey i like it, it actually reminds me of alto
Very nice. Thank you.
I’m going to try to use this code to learn how to do parralax scrolling in Lua at this game jame I’m at