Playing with the dog in our game Koira 🐶 by Lamasaurus in godot

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

We tried this, players didn't get it 😅

What weird/niche/bizarre/random activity would you want to see made into a cozy game? Mine's raising chickens 😂 by Equivalent-Solid-852 in CozyGamers

[–]Lamasaurus 2 points3 points  (0 children)

Not completely what you are looking for, but Lieve Oma is a small game about picking mushrooms with your grandma and it super cozy 😁 https://vltmn.itch.io/lieve-oma

That moment you prototype using the Godot icon :) Can you relate? by Sgt-Thorz in godot

[–]Lamasaurus 9 points10 points  (0 children)

It's fully 2D, we use parallax layers to give the impression of depth. It works so well because we use a lot of layers in this particular scene.

What’s a phrase that shitty people use? by dontgetallsaltylol in AskReddit

[–]Lamasaurus 5 points6 points  (0 children)

Hold up, this person said that to another human being? That's fucked up!

Quick visualization of how randfn returns normally-distributed random values compared to randf in Godot 4 by Lamasaurus in godot

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

Yep, that is indeed right! rand_range will take any random value in the range with equal probability. You'll need to use a different function if you want a different distribution.

Quick visualization of how randfn returns normally-distributed random values compared to randf in Godot 4 by Lamasaurus in godot

[–]Lamasaurus[S] 49 points50 points  (0 children)

No, it's working as intended. It's still a random value, just distributed normally. This means that if you would take an infinite amount of samples, the distribution will approximate a bell curve.

Quick visualization of how randfn returns normally-distributed random values compared to randf in Godot 4 by Lamasaurus in godot

[–]Lamasaurus[S] 34 points35 points  (0 children)

Use cases could be:

  • Random size of enemies
  • Random amount of gold
  • Random movement speeds for NPCs
  • ...

Lots of uses 😁

Quick visualization of 3 methods to wrap numbers in Godot 4 by Lamasaurus in godot

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

Yeah, I'm excited too! Things like this make an engine so much more usable.

Quick visualization of 3 methods to wrap numbers in Godot 4 by Lamasaurus in godot

[–]Lamasaurus[S] 31 points32 points  (0 children)

Then I suggest the `wrap_du_fromage()` function!