![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Linksy_CZ |
How do you mean randomize()? Can you make an example?
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Linksy_CZ |
How do you mean randomize()? Can you make an example?
![]() |
Reply From: | jgodfrey |
Simply call the randomize()
function from the _ready()
function of your main script. So, this:
func _ready():
randomize()
![]() |
Reply From: | crossbito |
Randomize its use to ensure that the random number is truly random every time you start the game.