Log In  


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:

and here's when running as a wallpaper or screensaver:

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:

Cart #landscape_flyby_01-0 | 2024-05-20 | Embed ▽ | License: CC4-BY-NC-SA
1

You can see it also doesn't work when embedded here. But if you run the cart in Picotron, it does. ¯_(ツ)_/¯

1



[Please log in to post a comment]