feat: update

This commit is contained in:
2026-04-22 05:01:23 +08:00
parent c496707bb1
commit 5653af764f
14 changed files with 38 additions and 25 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
{
"version": "2.1.5",
"date": "2026-04-20",
"pck_url": "https://raw.githubusercontent.com/tekton-studios/tekton-updates/main/patch.pck",
"pck_url": "https://raw.githubusercontent.com/adtpdn/tekton-updates/main/patch.pck",
"changelog": [
"Initial release of the new patching system.",
"Added boot screen paginator."
@@ -76,7 +76,7 @@ _subresources={
"lods/normal_merge_angle": 60.0,
"lods/normal_split_angle": 25.0,
"save_to_file/enabled": true,
"save_to_file/fallback_path": "res://assets/models/meshes/tiles_armagedon_a1.res",
"save_to_file/fallback_path": "res://tiles_armagedon_a1.res",
"save_to_file/path": "uid://dc8xogqvnqor7"
},
"tiles_armagedon_Cube_012": {
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -22,6 +22,7 @@ config/icon="res://icon.svg"
[autoload]
GameUpdateManager="*res://scripts/managers/game_update_manager.gd"
Nakama="*uid://bueyqhhvxe0tx"
NakamaManager="*res://scripts/nakama_manager.gd"
AuthManager="*res://scripts/managers/auth_manager.gd"
+33 -21
View File
@@ -1,8 +1,11 @@
[gd_scene load_steps=2 format=3]
[gd_scene format=3 uid="uid://bdfogx1k2q1fl"]
[ext_resource type="Script" path="res://scripts/ui/boot_screen.gd" id="1_boot"]
[ext_resource type="Script" uid="uid://vgyrq5y5p7jw" path="res://scripts/ui/boot_screen.gd" id="1_boot"]
[ext_resource type="FontFile" uid="uid://dsqg0x5lnosou" path="res://assets/fonts/TektonDash2.ttf" id="2_bwjrh"]
[ext_resource type="FontFile" uid="uid://c2tryhyhlyb1u" path="res://assets/fonts/Supercell-Magic Regular.ttf" id="3_f4w4t"]
[ext_resource type="FontFile" uid="uid://xnjx058n4tsw" path="res://assets/fonts/Nougat-ExtraBlack.ttf" id="4_17ab1"]
[node name="BootScreen" type="Control"]
[node name="BootScreen" type="Control" unique_id=469561880]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -11,7 +14,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_boot")
[node name="Background" type="ColorRect" parent="."]
[node name="Background" type="ColorRect" parent="." unique_id=698091452]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -20,7 +23,7 @@ grow_horizontal = 2
grow_vertical = 2
color = Color(0.0823529, 0.0823529, 0.109804, 1)
[node name="CenterContainer" type="CenterContainer" parent="."]
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=1851252006]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -28,72 +31,78 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="MainVBox" type="VBoxContainer" parent="CenterContainer"]
[node name="MainVBox" type="VBoxContainer" parent="CenterContainer" unique_id=283468998]
custom_minimum_size = Vector2(600, 0)
layout_mode = 2
theme_override_constants/separation = 20
[node name="Title" type="Label" parent="CenterContainer/MainVBox"]
[node name="Title" type="Label" parent="CenterContainer/MainVBox" unique_id=576295308]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_bwjrh")
theme_override_font_sizes/font_size = 32
text = "Tekton Dash Booting..."
horizontal_alignment = 1
[node name="ChangelogPanel" type="PanelContainer" parent="CenterContainer/MainVBox"]
[node name="ChangelogPanel" type="PanelContainer" parent="CenterContainer/MainVBox" unique_id=675458612]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 300)
layout_mode = 2
[node name="Margin" type="MarginContainer" parent="CenterContainer/MainVBox/ChangelogPanel"]
[node name="Margin" type="MarginContainer" parent="CenterContainer/MainVBox/ChangelogPanel" unique_id=577528369]
layout_mode = 2
theme_override_constants/margin_left = 15
theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15
[node name="VBox" type="VBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin"]
[node name="VBox" type="VBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin" unique_id=983868454]
layout_mode = 2
[node name="ChangelogRichText" type="RichTextLabel" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox"]
[node name="ChangelogRichText" type="RichTextLabel" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox" unique_id=1850438919]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("3_f4w4t")
bbcode_enabled = true
text = "Loading changelog..."
[node name="HBox" type="HBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox"]
[node name="HBox" type="HBoxContainer" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox" unique_id=1374120193]
layout_mode = 2
alignment = 1
[node name="PrevButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox"]
[node name="PrevButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=1862079005]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = " < Previous "
[node name="PageLabel" type="Label" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox"]
[node name="PageLabel" type="Label" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=934971208]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = "1 / 1"
horizontal_alignment = 1
[node name="NextButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox"]
[node name="NextButton" type="Button" parent="CenterContainer/MainVBox/ChangelogPanel/Margin/VBox/HBox" unique_id=1366632731]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = " Next > "
[node name="StatusLabel" type="Label" parent="CenterContainer/MainVBox"]
[node name="StatusLabel" type="Label" parent="CenterContainer/MainVBox" unique_id=955710692]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = "Checking for updates..."
horizontal_alignment = 1
[node name="ProgressBar" type="ProgressBar" parent="CenterContainer/MainVBox"]
[node name="ProgressBar" type="ProgressBar" parent="CenterContainer/MainVBox" unique_id=2132835750]
unique_name_in_owner = true
layout_mode = 2
show_percentage = false
[node name="ProgressLabel" type="Label" parent="CenterContainer/MainVBox/ProgressBar"]
[node name="ProgressLabel" type="Label" parent="CenterContainer/MainVBox/ProgressBar" unique_id=1293848486]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
@@ -101,20 +110,23 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("4_17ab1")
horizontal_alignment = 1
[node name="ButtonContainer" type="HBoxContainer" parent="CenterContainer/MainVBox"]
[node name="ButtonContainer" type="HBoxContainer" parent="CenterContainer/MainVBox" unique_id=2021809892]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="SkipButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer"]
[node name="SkipButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=1945691494]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = "Skip"
[node name="UpdateButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer"]
[node name="UpdateButton" type="Button" parent="CenterContainer/MainVBox/ButtonContainer" unique_id=200811932]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("4_17ab1")
text = "Download Update"
+1 -1
View File
@@ -14,7 +14,7 @@ signal patch_applied
signal store_update_required(store_url: String)
# Configuration - Update these URLs for your game
const VERSION_MANIFEST_URL := "https://raw.githubusercontent.com/tekton-studios/tekton-updates/main/version.json"
const VERSION_MANIFEST_URL := "https://raw.githubusercontent.com/adtpdn/tekton-updates/main/version.json"
const ANDROID_STORE_URL := "https://play.google.com/store/apps/details?id=com.yourcompany.tekton"
const IOS_STORE_URL := "https://apps.apple.com/app/tekton/id123456789"
+1 -1
View File
@@ -148,7 +148,7 @@ func _update_pagination_ui():
return
var entry: Dictionary = changelog_data[current_page]
var txt := "[font_size=20][b]Version " + entry.get("version", "Unknown") + "[/b][/font_size]\n[color=gray]" + entry.get("date", "") + "[/color]\n\n"
var txt: String = "[font_size=20][b]Version " + str(entry.get("version", "Unknown")) + "[/b][/font_size]\n[color=gray]" + str(entry.get("date", "")) + "[/color]\n\n"
var changes: Array = entry.get("changelog", [])
for change in changes:
Binary file not shown.