It feels like, while the weights do account for themselves, the variables that get put closer to zero in the array also get weighted more heavily because they are chosen first for the 2nd local sum. Would it be better to randomize the selection of weights to sum in the second function?
I made this tutorial a long time ago so I don't really remember the details. If the scenario you present is correct, then yes that is problematic. It could be verified with a large set of outcomes and compare it to the weights to see if they line up or not.
Thank you, I applied it for my different style game and it works!
Glad to hear it!
Big fan :) one of the few other Devs I see with helpfull Reddit replies also ^^
Thank you for the support and the kind words. :)
today you've made me a little bit smarter than myself from 15 minutes ago
Every day we learn something new, we improve ourselves a little bit. :)
love it!!
Glad to hear it. Thank you. :)
It feels like, while the weights do account for themselves, the variables that get put closer to zero in the array also get weighted more heavily because they are chosen first for the 2nd local sum. Would it be better to randomize the selection of weights to sum in the second function?
I made this tutorial a long time ago so I don't really remember the details. If the scenario you present is correct, then yes that is problematic. It could be verified with a large set of outcomes and compare it to the weights to see if they line up or not.
@@LeafBranchGames I was just curious. It's a great starting point. I appreciate you for helping us (the community) out.
@@bigmartin343 It is good that you keep an eye out. Details like that can have large consequences if left unnoticed.
Smart! Thanks so much, good luck with the cat
Haha, thank you. :)
Thank you so much! This was super useful.
Glad to hear it!
Thanks agani! @@LeafBranchGames
Incredibly helpful!! Thank you very much!!
Glad to hear it. :)
Can I apply this method about all same probability?
There may be edge cases where you need to make some special considerations. But for the most part it should be fine.
Very good, I loved it.
Glad to hear it!
thanks a lot 👍
My pleasure. :)
cool, +1 sub for you
Thank you for your support. :)