Created
March 3, 2026 15:06
-
-
Save wjt/eeb90c151d3bc09606125d47e25dfb11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: The Threadbare Authors | |
| # SPDX-License-Identifier: MPL-2.0 | |
| extends CanvasLayer | |
| ## The probability distribution for the amount of rain. The y-axis is the amount of rain for a given (randomly-chosen) point on the x-axis. | |
| @export var rain_distribution: Curve | |
| @onready var gpu_particles_2d: GPUParticles2D = %GPUParticles2D | |
| func _ready() -> void: | |
| print("a") | |
| randomize() | |
| print("b") | |
| func randomize() -> void: | |
| print("c") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment