you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago* (last edited 1 year ago) (1 child)

You can simplify your rng by using global randomize(). Then you won't have to remember to create a new random generator, and you can generate random stuff with randi_range() instead of rng.randi_range(). That is, if you don't need several differently-seeded random generators.

Couldn't read through the whole code because of messed up formatting.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)