Hello World,
I made a topic a few weeks back asking for help with pseudorandomness, you can go check it out if you wanna see what that was about. At that time someone helped me with a nice example for how my game worked at that time.
Sadly since then I had to change some stuff around, instead of having a bunch of objects each with several frames I now have hundreds of objects with just the one frame each. So, unfortunately, the capx that person made doesn't help me anymore.
I tried modifing it, I tried playing with arrays on my own, using other examples/tutorials for shuffling, etc. and I still can't do it....
I'm pretty close to giving up but before I do I figured I might as well ask. Check the picture below please, with how my code looks, isn't there a way I could simply put some parameters on those functions so when they are called to create an object they don't create an object that has the same UID as another object on the same y as the object being created? This way I'd have "some"(I guess) randomezation without much repetition and I wouldn't have to modify my code much, just add those parameters, wouldn't have to worry about freaking arrays, etc....
Thank you.
P.S. Ignore the depressing lyrics of the music I'm listening to atm that appear in the image, I couldn't find the strenght to care enough to cut them out this time.