Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfac0e68e6 | ||
|
|
2041c668dd |
BIN
game_godot/TinMerezhi.exe
(Stored with Git LFS)
BIN
game_godot/TinMerezhi.exe
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 146 KiB |
@@ -1388,6 +1388,9 @@ const EN := {
|
||||
"Твої результати в Нескінченній мережі, щоденному виклику й задачах агентів можуть потрапити в спільну онлайн-таблицю (top). Надсилаються лише нік і рахунок.\n\nАнонімна статистика допомагає розробнику побачити, на якій главі гравці застрягають: номер глави, кількість дій і арештів, складність, мова й версія. Без ніка, імені чи IP.\n\nОбидва вимкнені, поки ти їх не ввімкнеш. Змінити можна будь-коли командою settings.": "Your Endless Network, daily challenge and agent task results can go to a shared online leaderboard (top). Only your nickname and score are sent.\n\nAnonymous stats help the developer see which chapter players get stuck on: chapter number, action and arrest counts, difficulty, language and version. No nickname, name or IP.\n\nBoth are off until you turn them on. You can change this any time with the settings command.",
|
||||
"Налаштувати": "Set up",
|
||||
"Не зараз": "Not now",
|
||||
"💚 Подобається гра?": "💚 Enjoying the game?",
|
||||
"Акт пройдено! Якщо гра тобі до вподоби, оціни її на itch.io або залиш коментар. Для гри від одного розробника кожна оцінка дуже допомагає: так її знайдуть інші гравці.": "Act complete! If you like the game, please rate it on itch.io or leave a comment. For a solo developer every rating helps a lot: it's how other players find the game.",
|
||||
"Оцінити на itch.io": "Rate on itch.io",
|
||||
"Що нового у v%s": "What's new in v%s",
|
||||
"Грати": "Play",
|
||||
# ── різноманіття (variety.gd, v1.0.72) ──
|
||||
|
||||
@@ -6,7 +6,7 @@ extends RefCounted
|
||||
const L = preload("res://lang.gd")
|
||||
|
||||
const DEFAULTS := {"music": 50, "sfx": 80, "crt": 100, "glitch": 100, "font": 16, "ui": 0, "full": false, "lang": "uk", "theme": 0, "calm": false, "hist": [],
|
||||
"online": false, "nick": "", "tok": "", "stats": false, "sid": "", "asked": false, "seen": ""}
|
||||
"online": false, "nick": "", "tok": "", "stats": false, "sid": "", "asked": false, "seen": "", "rated": false}
|
||||
const HIST_MAX := 100
|
||||
const UI_SCALES := [0, 100, 125, 150, 175, 200] # відсотки; 0 — авто
|
||||
const BASE := Vector2i(1366, 860) # розмір вікна з project.godot при масштабі 100%
|
||||
@@ -220,3 +220,23 @@ static func ask_online(g: Main) -> void:
|
||||
d.visibility_changed.connect(func(): if not d.visible: d.queue_free())
|
||||
g.add_child(d)
|
||||
d.popup_centered()
|
||||
|
||||
const ITCH_URL := "https://tuberon.itch.io/tinmerezhi"
|
||||
|
||||
# Один раз за все життя гри (після 1-го акту) просить оцінити гру на itch.io: оцінки піднімають гру в каталозі.
|
||||
static func ask_rate(g: Main) -> void:
|
||||
if g.cfg["rated"] or g.settings_path != "user://settings.json": # тести мають свій файл налаштувань
|
||||
return
|
||||
g.cfg["rated"] = true
|
||||
save(g)
|
||||
var d := ConfirmationDialog.new()
|
||||
d.title = L.t("💚 Подобається гра?")
|
||||
d.dialog_text = L.t("Акт пройдено! Якщо гра тобі до вподоби, оціни її на itch.io або залиш коментар. Для гри від одного розробника кожна оцінка дуже допомагає: так її знайдуть інші гравці.")
|
||||
d.get_label().autowrap_mode = TextServer.AUTOWRAP_WORD_SMART
|
||||
d.get_label().custom_minimum_size.x = 560
|
||||
d.ok_button_text = L.t("Оцінити на itch.io")
|
||||
d.cancel_button_text = L.t("Не зараз")
|
||||
d.confirmed.connect(func(): OS.shell_open(ITCH_URL))
|
||||
d.visibility_changed.connect(func(): if not d.visible: d.queue_free())
|
||||
g.add_child(d)
|
||||
d.popup_centered()
|
||||
|
||||
@@ -105,6 +105,8 @@ static func _finish_mission(g: Main) -> void:
|
||||
if nm.has("act"):
|
||||
Gfx.act_card(g, nm["act"], L.t("Нова частина історії"))
|
||||
Modes.ng_mail(g, g.missions.slice(0, g.mission + 1).filter(func(x): return x.has("act")).size() - 1)
|
||||
if g.endless == null:
|
||||
g.get_tree().create_timer(5.0).timeout.connect(func(): g.Settings.ask_rate(g)) # після заставки акту
|
||||
if g.mission == g.Data.MISSIONS.size():
|
||||
_relock_act4(g)
|
||||
if g.mission == g.A5_START:
|
||||
|
||||
@@ -8,6 +8,7 @@ const Updater = preload("res://updater.gd")
|
||||
const MAX_ITEMS := 8 # коротко: вікно має влазити й з великим шрифтом
|
||||
|
||||
const CHANGES := [
|
||||
["1.0.76", "Після першого акту гра один раз запропонує оцінити її на itch.io.", "After the first act the game asks once whether you would rate it on itch.io."],
|
||||
["1.0.75", "Параноя знову повноцінно важка: замок сервера там лише перша перешкода, за ним ще треба зламати код.", "Paranoid is properly hard again: a server lock is only the first obstacle there, the code behind it still has to be cracked."],
|
||||
["1.0.75", "Чорний лід, розтоплений посеред зламу, повертає допомогу відеокарти й ШІ-асистента.", "Black ice melted in the middle of a crack brings back the help of your GPU and AI assistant."],
|
||||
["1.0.75", "Відкритий дзвінком чи словом замок більше не обіцяє «відомих цифр» пароля, яких не буде.", "A lock opened by a call or a word no longer promises password digits that never come."],
|
||||
|
||||
Reference in New Issue
Block a user