top 5 comments

sorted by: hot top controversial new old
[–] 17 points 1 year ago (1 child)

Im curious why did you pick 3.6 over 4.4 or 4.x?

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 6 points 1 year ago (2 children)

    You can only get the window size after the window is ready, if you were on godot 4 that’d be with an @onready var but I don’t remember how to do that in 3

  • source
  • hideshow 2 child 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)