Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
23
scripts/backround_scenes_scripts/Roman_green.gd
Normal file
23
scripts/backround_scenes_scripts/Roman_green.gd
Normal file
|
@ -0,0 +1,23 @@
|
|||
extends Node2D
|
||||
|
||||
func _ready():
|
||||
if not get_tree().root.has_node("Root"):
|
||||
return ;
|
||||
|
||||
GallerySingleton.AddImage("Roman_green");
|
||||
|
||||
if Dialogic.get_variable("ItIsDay") == "false":
|
||||
var sfxPath = "res://resources/audio/sfx/Rain Loop.ogg"
|
||||
get_tree().root.get_node("Root").SetSFXforBGM(sfxPath)
|
||||
else :
|
||||
get_tree().root.get_node("Root").StopSFX();
|
||||
|
||||
func _on_EasterEggTimer_timeout():
|
||||
var tempMaterial = $rain / Rain / Particles2D.get_process_material()
|
||||
tempMaterial.color = Color(0.56, 0.078, 0.078, 1)
|
||||
$rain / Rain / Particles2D.set_process_material(tempMaterial)
|
||||
|
||||
|
||||
func InitForGallery()->Array:
|
||||
scale = Vector2(0.5, 0.5)
|
||||
return [];
|
Loading…
Add table
Add a link
Reference in a new issue