proc |
So, I was goofing around with this little project a while back, I was going to make a pixel-movement side-scrolling space-shooter, but that's not really the point. I made this looping proc to scroll the background, by gradually editting its pixel_x at various rates after applying a randomized star pattern to it. The background scrolls wonderfully, and for the most part it works just as planned. After a minute or so, though, the game will just lock up, with the message that I'd reached the maximum recursion limit, regardless of the setting of world_loop. Any idea what the problem could be?