-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63b65b5
commit b050b42
Showing
23 changed files
with
29,143 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Control | ||
|
||
func _ready(): | ||
pass | ||
|
||
func _on_Reen_pressed(): | ||
get_tree().change_scene("res://Kontroloj/Niveloj.tscn") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
[gd_scene load_steps=7 format=1] | ||
|
||
[ext_resource path="res://Kontroloj/Gvidilo.gd" type="Script" id=1] | ||
[ext_resource path="res://Temoj/Butono_sxveda.tres" type="StyleBox" id=2] | ||
[ext_resource path="res://Temoj/Butono_premita.tres" type="StyleBox" id=3] | ||
[ext_resource path="res://Temoj/Butono.tres" type="StyleBox" id=4] | ||
[ext_resource path="res://Tiparoj/roboto.fnt" type="BitmapFont" id=5] | ||
[ext_resource path="res://Tiparoj/roboto30.fnt" type="BitmapFont" id=6] | ||
|
||
[node name="Gvidilo" type="Control"] | ||
|
||
anchor/right = 1 | ||
anchor/bottom = 1 | ||
focus/ignore_mouse = false | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
size_flags/vertical = 2 | ||
margin/left = 0.0 | ||
margin/top = 0.0 | ||
margin/right = 800.0 | ||
margin/bottom = 1200.0 | ||
script/script = ExtResource( 1 ) | ||
|
||
[node name="Control" type="Control" parent="."] | ||
|
||
anchor/left = 3 | ||
anchor/top = 3 | ||
anchor/right = 3 | ||
anchor/bottom = 3 | ||
focus/ignore_mouse = false | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
size_flags/vertical = 2 | ||
margin/left = 0.0 | ||
margin/top = 0.0 | ||
margin/right = 0.0 | ||
margin/bottom = 0.0 | ||
|
||
[node name="Reen" type="Button" parent="Control"] | ||
|
||
rect/scale = Vector2( 0.7, 0.7 ) | ||
focus/ignore_mouse = false | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
size_flags/vertical = 2 | ||
margin/left = 150.0 | ||
margin/top = 950.0 | ||
margin/right = 865.0 | ||
margin/bottom = 1164.0 | ||
custom_styles/hover = ExtResource( 2 ) | ||
custom_styles/pressed = ExtResource( 3 ) | ||
custom_styles/normal = ExtResource( 4 ) | ||
custom_fonts/font = ExtResource( 5 ) | ||
custom_colors/font_color = Color( 0, 0, 0, 1 ) | ||
custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) | ||
custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) | ||
toggle_mode = false | ||
enabled_focus_mode = 2 | ||
shortcut = null | ||
text = "Reen" | ||
flat = false | ||
|
||
[node name="ScrollContainer" type="ScrollContainer" parent="Control"] | ||
|
||
focus/ignore_mouse = false | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
size_flags/vertical = 2 | ||
margin/left = 50.0 | ||
margin/top = 50.0 | ||
margin/right = 800.0 | ||
margin/bottom = 900.0 | ||
scroll/horizontal = false | ||
scroll/vertical = true | ||
|
||
[node name="Label" type="Label" parent="Control/ScrollContainer"] | ||
|
||
rect/min_size = Vector2( 700, 1000 ) | ||
focus/ignore_mouse = true | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
size_flags/vertical = 0 | ||
margin/left = 0.0 | ||
margin/top = 0.0 | ||
margin/right = 700.0 | ||
margin/bottom = 1000.0 | ||
custom_fonts/font = ExtResource( 6 ) | ||
custom_colors/font_color = Color( 0, 0, 0, 1 ) | ||
text = "Cxu vi sciias ke vi povas plibonigi la armilojn? kolektu samajn armilojn en la bazo. | ||
Duoblklaku/Duoblfrapetu al kanono/lasero por sxangxi gxian strategion. | ||
Armiloj bezonas energion por pafi al malamikoj; metu ilin je la cirklumoj. (Vi povas plibonigi bombojn ankaux tiel.)" | ||
autowrap = true | ||
percent_visible = 1.0 | ||
lines_skipped = 0 | ||
max_lines_visible = -1 | ||
|
||
[connection signal="pressed" from="Control/Reen" to="." method="_on_Reen_pressed"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
extends Control | ||
|
||
var agordejo = "user://agordejo.cfg" | ||
onready var Agordejo = ConfigFile.new() | ||
const lingvoj = ["eo", "en"] | ||
|
||
func _ready(): | ||
get_tree().set_auto_accept_quit(true) | ||
|
||
Agordejo.load(agordejo) | ||
var lingvo_indekso = Agordejo.get_value("Lingvo", "lingvo") | ||
if lingvo_indekso == null: | ||
get_tree().change_scene("res://Kontroloj/Lingvo.tscn") | ||
elif TranslationServer.get_locale() != lingvoj[lingvo_indekso]: | ||
TranslationServer.set_locale(lingvoj[lingvo_indekso]) | ||
get_tree().reload_current_scene() | ||
|
||
get_node("Poentaro").set_text(str(Tutmonda.poentaro)) | ||
if Tutmonda.epoko == "nova": | ||
Agordejo.set_value("Rekordoj", "nova_epoko", Tutmonda.poentaro) | ||
elif Tutmonda.epoko == "malnova": | ||
Agordejo.set_value("Rekordoj", "malnova_epoko", Tutmonda.poentaro) | ||
Agordejo.save(agordejo) | ||
|
||
func _on_Reen_pressed(): | ||
get_tree().change_scene("res://Kontroloj/Niveloj.tscn") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.