From 7f23fd7977d89200f9a4d0d13ca58902e0726f0b Mon Sep 17 00:00:00 2001 From: hsn6 Date: Sun, 18 Feb 2018 08:27:05 +0330 Subject: [PATCH] eta --- Radiko.gd | 10 +++++----- Radiko.tscn | 40 ++++++++++++++++++++-------------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Radiko.gd b/Radiko.gd index cd899a7..139cff1 100644 --- a/Radiko.gd +++ b/Radiko.gd @@ -92,12 +92,12 @@ func _ready(): koloroj[T.Agordejo.get_value("Koloro", "fonkoloro", "Griza")] ) koloro = koloroj[T.Agordejo.get_value("Koloro", "koloro", "Blanka")] + var Senfinfino = get_node("Senfinfino") + Senfinfino.set_global_pos(Vector2(0,-101300)) if T.Radiko.koloro == "000000": get_node("Tero/Aspekto").set_color("000000") PreParto.get_node("Aspekto").set_color("000000") - var Senfinfino = get_node("Senfinfino") - Senfinfino.set_global_pos(Vector2(0,-101300)) - Senfinfino.show() + Senfinfino.set("custom_colors/font_color", "000000") V_rulumilo.set_min(-101000) for i in range(-101000, -500, 700): randomize() @@ -118,11 +118,11 @@ func _ready(): i )) Materialoj.add_child(Materialo_) - for i in range(-101000, 8000, 13000): + for i in range(-101000, -4000, 12000): randomize() var Ebeno_ = Ebeno.instance() Ebeno_.set_global_pos( - Vector2(300, i+rand_range(-4000,4000)) + Vector2(300, i+rand_range(-2000,4000)) ) Ebenoj.add_child(Ebeno_) Fonmuziko.set("stream/play", T.Agordejo.get_value("Agordoj", "Muzikoj", true)) diff --git a/Radiko.tscn b/Radiko.tscn index 9b152d3..e55a61c 100644 --- a/Radiko.tscn +++ b/Radiko.tscn @@ -118,6 +118,26 @@ drag_margin/right = 0.2 drag_margin/bottom = 0.2 script/script = ExtResource( 2 ) +[node name="Senfinfino" type="Label" parent="."] + +rect/scale = Vector2( 0.6, 0.6 ) +focus/ignore_mouse = true +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 0 +margin/left = 0.0 +margin/top = 150.0 +margin/right = 950.0 +margin/bottom = 267.0 +custom_fonts/font = ExtResource( 3 ) +custom_colors/font_color = Color( 1, 1, 1, 1 ) +text = "Ĉi tie estas la fino de senfino!" +align = 1 +valign = 1 +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 + [node name="Partoj" type="Node2D" parent="."] [node name="Materialoj" type="Node2D" parent="."] @@ -186,26 +206,6 @@ texture/rotation = 0.0 invert/enable = false invert/border = 100.0 -[node name="Senfinfino" type="Label" parent="."] - -visibility/visible = false -rect/scale = Vector2( 0.6, 0.6 ) -focus/ignore_mouse = true -focus/stop_mouse = true -size_flags/horizontal = 2 -size_flags/vertical = 0 -margin/left = 0.0 -margin/top = 150.0 -margin/right = 950.0 -margin/bottom = 267.0 -custom_fonts/font = ExtResource( 3 ) -text = "Ĉi tie estas la fino de senfino!" -align = 1 -valign = 1 -percent_visible = 1.0 -lines_skipped = 0 -max_lines_visible = -1 - [node name="T500" type="Timer" parent="."] process_mode = 1