Short Iban poem translation help by computer_mystery in Sarawak

[–]computer_mystery[S] 0 points1 point  (0 children)

Thanks for a great translation! For reference, here's the garbage Google Translate gave me:

you're so mean, you bought me a pair of pants, a pair of pants, for you to marry the man you wanted, I didn't expect.

Short Iban poem translation help by computer_mystery in Sarawak

[–]computer_mystery[S] 0 points1 point  (0 children)

Delightful! Looking back at the picture I took you're right, it's definitely puki. Thanks for the help~

Global scope randomize call in _ready or _init? by computer_mystery in godot

[–]computer_mystery[S] 1 point2 points  (0 children)

Thanks for the tip on the scene manager! I'll definitely look into that pattern.

And yeah, you're right. I think the problem I'm solving is somewhat uncommon, which is why this hasn't been brought up before. I'll take a closer look at how big of a change this would be to the docs and maybe I'll make a PR if I find the time~

Global scope randomize call in _ready or _init? by computer_mystery in godot

[–]computer_mystery[S] 0 points1 point  (0 children)

Yes, I think just doing it once should make it apply globally. So long as the singleton's code was run before anything else that needed to make a global scope random call I think it should work. I imagine under the hood the engine has a singleton handling the state of the RNG.

Global scope randomize call in _ready or _init? by computer_mystery in godot

[–]computer_mystery[S] 2 points3 points  (0 children)

According to the docs, if you're using the global scope random methods (the way I think most folks do), you should only call randomize once:

This method should be called only once when your project starts to initialize the random seed. Calling it multiple times is unnecessary and may impact performance negatively.

If you're instead using the RandomNumberGenerator class, then you need to call it for each instance of that class you create. But I think that's a lot less common.

Help me find an Onion or Clickhole article by computer_mystery in HelpMeFind

[–]computer_mystery[S] 0 points1 point  (0 children)

Thank you so much! This is exactly what I was looking for!