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
3

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

3


I'm sorry, I don't know how to resolve that particular problem. I love this cart though... So much that I was inspired to make an eldritch Halloween theme!
https://www.lexaloffle.com/bbs/?tid=145036
I didn't change much but colors and some of the sprites. I also added in the rain sound from https://www.lexaloffle.com/bbs/?tid=142545



[Please log in to post a comment]