Done refactoring

This commit is contained in:
2ndbeam 2023-11-05 21:51:47 +03:00
commit 2176e9d798
88 changed files with 821 additions and 880 deletions

10
scripts/objects/Star.gd Normal file
View file

@ -0,0 +1,10 @@
extends AnimatedSprite2D
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)]