Prepare tester feedback and reproducible alpha builds

This commit is contained in:
Emporex committed 2026-10-04 14:35:50 +02:00
1 parent cad08aafb7
commit 235d7f3810
7 files changed
+120 -4

No files matched your search

+19
View File
@@ -155,6 +155,7 @@ var profile_name_input := ""
var profile_message := ""
var profile_delete_armed := false
var profile_rename_button := Rect2(220, 305, 250, 48)
var profile_support_button := Rect2(570, 685, 250, 48)
var profile_privacy_button := Rect2(840, 685, 250, 48)
var profile_delete_button := Rect2(1110, 685, 250, 48)
var profile_name_input_rect := Rect2(460, 330, 680, 82)
@@ -505,6 +506,8 @@ func _handle_pointer(position: Vector2, is_touch := false) -> void:
game_mode = "menu"
elif profile_rename_button.has_point(position):
_open_profile_name_entry()
elif profile_support_button.has_point(position):
OS.shell_open(_support_email_url())
elif profile_privacy_button.has_point(position):
OS.shell_open("https://void-bastion.gergames.de/privacy.html")
elif profile_delete_button.has_point(position):
@@ -742,6 +745,20 @@ func _hide_virtual_keyboard() -> void:
DisplayServer.virtual_keyboard_hide()
func _app_version() -> String:
return str(ProjectSettings.get_setting("application/config/version", "Entwicklung"))
func _support_email_url() -> String:
var subject := "Void Bastion Feedback %s" % _app_version()
var body := "Version: %s\nPlattform: %s\nSpieler-ID: %s\n\nBeschreibung:\n" % [
_app_version(),
OS.get_name(),
account_manager.short_id(),
]
return "mailto:support@gergames.de?subject=%s&body=%s" % [subject.uri_encode(), body.uri_encode()]
func _open_profile_name_entry() -> void:
profile_name_input = account_manager.display_name
profile_message = ""
@@ -1796,6 +1813,7 @@ func _draw_profile() -> void:
draw_rect(Rect2(Vector2.ZERO, SCREEN), Color(0.005, 0.015, 0.035, 0.76))
_draw_button(profile_back_button, "< ZURÜCK", false, Color("26394a"))
draw_string(font, Vector2(0, 112), "PILOTENPROFIL", HORIZONTAL_ALIGNMENT_CENTER, 1600, 44, Color("c7f5ff"))
draw_string(font, Vector2(1110, 112), "VERSION %s" % _app_version(), HORIZONTAL_ALIGNMENT_RIGHT, 290, 14, Color("91a8bc"))
draw_rect(Rect2(170, 155, 1260, 600), Color(0.012, 0.035, 0.065, 0.94), true)
draw_rect(Rect2(170, 155, 1260, 600), Color("4ab8d1"), false, 2.0)
draw_string(font, Vector2(220, 220), account_manager.display_name, HORIZONTAL_ALIGNMENT_LEFT, 520, 30, Color("8ff4ff"))
@@ -1824,6 +1842,7 @@ func _draw_profile() -> void:
draw_string(font, Vector2(1160, y), "%07d" % score, HORIZONTAL_ALIGNMENT_CENTER, 180, 16, Color("8fffea"))
if not profile_message.is_empty():
draw_string(font, Vector2(220, 658), profile_message, HORIZONTAL_ALIGNMENT_CENTER, 1160, 14, Color("ffcf7a"))
_draw_button(profile_support_button, "SUPPORT / FEEDBACK", false, Color("24516a"))
_draw_button(profile_privacy_button, "DATENSCHUTZ", false, Color("24475b"))
_draw_button(profile_delete_button, "LÖSCHEN BESTÄTIGEN" if profile_delete_armed else "KONTO LÖSCHEN", profile_delete_armed, Color("6b2d3b"))