Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
24
scripts/backround_scenes_scripts/Death_Electro.gd
Normal file
24
scripts/backround_scenes_scripts/Death_Electro.gd
Normal file
|
@ -0,0 +1,24 @@
|
|||
extends Node2D
|
||||
|
||||
func _ready():
|
||||
if not get_tree().root.has_node("Root"):
|
||||
return ;
|
||||
|
||||
GallerySingleton.AddImage("Death_Electro");
|
||||
|
||||
func InitForGallery()->Array:
|
||||
FUCKScale()
|
||||
return [];
|
||||
|
||||
func FUCKScale():
|
||||
var timer = Timer.new();
|
||||
add_child(timer);
|
||||
timer.set_wait_time(0.05);
|
||||
timer.set_one_shot(true);
|
||||
timer.start();
|
||||
timer.connect("timeout", self, "FUCKFUCK", [timer]);
|
||||
|
||||
func FUCKFUCK(timer):
|
||||
call_deferred("set_scale", Vector2(0.3495, 0.3495));
|
||||
timer.disconnect("timeout", self, "FUCKFUCK")
|
||||
remove_child(timer);
|
Loading…
Add table
Add a link
Reference in a new issue