I've run into an issue in a particular cart while running in screensaver/wallpaper mode. It seems to be some kind of issue with srand() but using seeds and clearing them works fine everywhere else in the program except in one place.
Here's a gif of part of the screen with the program running normally:
![](/media/53990/Running cart.gif)
and here's when running as a wallpaper or screensaver:
![](/media/53990/wallpaper.gif)
You can see that the raindrops' locations and colors are not being randomized here. There are several other elements in the scene which are being randomized correctly, which is the strange part. Has anyone else run into a similar issue?
Here's the cart, as-is. The code-snippet in question is in the rain.lua script, which is adapted from @donswelt 's Tiny Rain:
You can see it also doesn't work when embedded here. But if you run the cart in Picotron, it does. ¯_(ツ)_/¯
[Please log in to post a comment]