One_Eleven_Android/scripts/backround_scenes_scripts/Kamin.gd
2024-11-10 03:34:28 +03:00

20 lines
417 B
GDScript

extends Node2D
func _ready():
if not get_tree().root.has_node("Root"):
return ;
$Cat.Init(2, 6);
$Cat.position = Vector2(1365, 620);
$Cat.Scale(0.55);
var sfxPath = "res://resources/audio/sfx/zvuk-kamina.ogg"
get_tree().root.get_node("Root").SetSFXforBGM(sfxPath)
GallerySingleton.AddBackground("Kamin");
func InitForGallery()->Array:
scale = Vector2(0.5, 0.5)
$Cat.visible = false;
return [];