Initial commit (1/2)

This commit is contained in:
Алкесей Мирнеков 2023-11-05 16:23:18 +03:00 committed by GitHub
commit 3411c5796d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 2261 additions and 0 deletions

12
scripts/Star.gd Normal file
View file

@ -0,0 +1,12 @@
extends AnimatedSprite2D
# Called when the node enters the scene tree for the first time.
func _ready():
randomize()
var Size : float = randf_range(0.5, 2)
frame = randi_range(0, 7)
scale = Vector2(Size, Size)
speed_scale = randf_range(0, 2)
var Colors = [Color.LIGHT_BLUE, Color.WHITE, Color.LIGHT_GOLDENROD, Color.YELLOW, Color.ORANGE, Color.ORANGE_RED, Color.RED]
modulate = Colors[randi_range(0, 6)]