Rebrand project and refresh title presentation
This commit is contained in:
parent
17fef2c5d4
commit
7ae20789a9
138 changed files with 1511 additions and 1498 deletions
29
main/main.gd
29
main/main.gd
|
|
@ -294,7 +294,7 @@ func _ready() -> void:
|
|||
_configure_presentation_performance_profile(
|
||||
_performance_profile.is_light()
|
||||
)
|
||||
DisplayServer.window_set_title("NETfishing")
|
||||
DisplayServer.window_set_title("straywild")
|
||||
_rain_ambience = RainAmbienceType.new()
|
||||
_rain_ambience.name = "RainAmbience"
|
||||
add_child(_rain_ambience)
|
||||
|
|
@ -324,11 +324,12 @@ func _ready() -> void:
|
|||
|
||||
|
||||
func _configure_presentation_performance_profile(light_profile: bool) -> void:
|
||||
_game_ui.get_title_screen().set_minimal_presentation(light_profile)
|
||||
_game_ui.set_light_performance_profile(light_profile)
|
||||
var title_water_material := _title_background.material as ShaderMaterial
|
||||
if title_water_material != null:
|
||||
title_water_material.set_shader_parameter(
|
||||
var title_background_material := (
|
||||
_title_background.material as ShaderMaterial
|
||||
)
|
||||
if title_background_material != null:
|
||||
title_background_material.set_shader_parameter(
|
||||
"animation_enabled",
|
||||
not light_profile,
|
||||
)
|
||||
|
|
@ -461,7 +462,7 @@ func _print_dedicated_metrics() -> void:
|
|||
metrics["gatherables"] = _network_world_spawns.call(
|
||||
"get_network_metrics"
|
||||
)
|
||||
print("NETfishing server metrics: %s" % JSON.stringify(metrics))
|
||||
print("straywild server metrics: %s" % JSON.stringify(metrics))
|
||||
|
||||
|
||||
func _start_dedicated_server() -> void:
|
||||
|
|
@ -556,7 +557,7 @@ func _start_dedicated_server() -> void:
|
|||
_fail_dedicated_server(_discovery.get_host_status_message())
|
||||
return
|
||||
print(
|
||||
"NETfishing dedicated server ready: %s on %s:%d (%d players, %s, timezone %s)"
|
||||
"straywild dedicated server ready: %s on %s:%d (%d players, %s, timezone %s)"
|
||||
% [
|
||||
config.server_name,
|
||||
config.bind_address,
|
||||
|
|
@ -1096,7 +1097,7 @@ func _initialize_application(dedicated: bool) -> void:
|
|||
func _show_data_root_setup() -> void:
|
||||
if _data_setup_dialog == null:
|
||||
_data_setup_dialog = ConfirmationDialog.new()
|
||||
_data_setup_dialog.title = "NETfishing player data"
|
||||
_data_setup_dialog.title = "straywild player data"
|
||||
_data_setup_dialog.ok_button_text = "Use This Folder"
|
||||
_data_setup_dialog.cancel_button_text = "Quit"
|
||||
_data_setup_dialog.confirmed.connect(_use_default_data_root)
|
||||
|
|
@ -1113,14 +1114,14 @@ func _show_data_root_setup() -> void:
|
|||
var default_path: String = _data_root.default_visible_path()
|
||||
var legacy: bool = PortableDataMigration.legacy_files_present()
|
||||
_data_setup_dialog.dialog_text = (
|
||||
("Move your existing NETfishing data to an easy-to-find folder."
|
||||
if legacy else "Choose where NETfishing stores your player data.")
|
||||
("Move your existing straywild data to an easy-to-find folder."
|
||||
if legacy else "Choose where straywild stores your player data.")
|
||||
+ "\n\n%s\n\nYou can choose a Syncthing folder."
|
||||
% (default_path if not default_path.is_empty() else "Choose a folder")
|
||||
)
|
||||
_data_setup_dialog.ok_button_text = (
|
||||
(
|
||||
"Move to Documents/NETFISHING"
|
||||
"Move to Documents/straywild"
|
||||
if legacy else "Use This Folder"
|
||||
)
|
||||
if not default_path.is_empty()
|
||||
|
|
@ -1129,7 +1130,7 @@ func _show_data_root_setup() -> void:
|
|||
_data_setup_current_button.visible = not default_path.is_empty()
|
||||
if not _data_root.error_message.is_empty():
|
||||
_data_setup_dialog.dialog_text = (
|
||||
"Your NETfishing data folder is unavailable.\n\n%s"
|
||||
"Your straywild data folder is unavailable.\n\n%s"
|
||||
% _data_root.error_message
|
||||
)
|
||||
_data_setup_dialog.popup_centered(Vector2i(640, 360))
|
||||
|
|
@ -1265,11 +1266,11 @@ func _activate_selected_data_path(path: String, app_data: bool = false) -> void:
|
|||
func _show_existing_root_choice(path: String) -> void:
|
||||
_pending_existing_root_path = path
|
||||
var dialog: ConfirmationDialog = ConfirmationDialog.new()
|
||||
dialog.title = "Existing NETfishing data"
|
||||
dialog.title = "Existing straywild data"
|
||||
dialog.ok_button_text = "Use Data Already in Selected Folder"
|
||||
dialog.cancel_button_text = "Cancel"
|
||||
dialog.dialog_text = (
|
||||
"This folder already contains NETfishing player data.\n\n"
|
||||
"This folder already contains straywild player data.\n\n"
|
||||
+ "Choose which complete data set to use. Data is never merged automatically."
|
||||
)
|
||||
dialog.add_button(
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
[ext_resource type="Script" uid="uid://dpiv6wttry0j4" path="res://network/player_data_root.gd" id="37_data_root"]
|
||||
[ext_resource type="Script" uid="uid://bu5q4a8jfvxkf" path="res://network/identity_backup_service.gd" id="38_identity_backup"]
|
||||
[ext_resource type="Script" uid="uid://djmxy6jibi5y3" path="res://ui/interface_font_controller.gd" id="39_fonts"]
|
||||
[ext_resource type="Shader" uid="uid://c8s1g7tn771du" path="res://ui/title_water_background.gdshader" id="40_title_water"]
|
||||
[ext_resource type="Texture2D" uid="uid://doju2lbj2ghwa" path="res://world/generation/chunks/assets/chunk_0000_grass_lite.png" id="40_title_grass"]
|
||||
[ext_resource type="Texture2D" uid="uid://f8a0cs0s7ler" path="res://art/patterns/pattern_tealdot.png" id="41_menu_pattern"]
|
||||
[ext_resource type="Shader" uid="uid://byw3iub66qvog" path="res://ui/player_menu_pattern.gdshader" id="42_menu_pattern"]
|
||||
[ext_resource type="Texture2D" uid="uid://b6xws1d2dnbnn" path="res://art/patterns/pattern_moneyfish.png" id="43_shop_pattern"]
|
||||
|
|
@ -59,18 +59,12 @@
|
|||
[ext_resource type="Script" path="res://network/network_world_spawn_service.gd" id="59_world_spawns"]
|
||||
[ext_resource type="Script" path="res://gathering/gathering_controller.gd" id="60_gathering_controller"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_title_water_native"]
|
||||
shader = ExtResource("40_title_water")
|
||||
shader_parameter/surface_color = Color(0.1, 0.45, 0.62, 1)
|
||||
shader_parameter/middle_color = Color(0.055, 0.285, 0.4, 1)
|
||||
shader_parameter/depth_color = Color(0.02, 0.16, 0.27, 1)
|
||||
shader_parameter/virtual_pixel_density = Vector2(320, 180)
|
||||
shader_parameter/color_step_count = 14.0
|
||||
shader_parameter/continuous_depth_blend = 0.12
|
||||
shader_parameter/wave_speed = 0.1
|
||||
shader_parameter/wave_scale = 2.4
|
||||
shader_parameter/wave_strength = 0.012
|
||||
shader_parameter/caustic_strength = 0.018
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_title_grass_native"]
|
||||
shader = ExtResource("42_menu_pattern")
|
||||
shader_parameter/pattern_texture = ExtResource("40_title_grass")
|
||||
shader_parameter/source_tile_size = Vector2(128, 128)
|
||||
shader_parameter/display_scale = 1.0
|
||||
shader_parameter/scroll_velocity_pixels = Vector2(-7.5, -7.5)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_player_menu_pattern"]
|
||||
shader = ExtResource("42_menu_pattern")
|
||||
|
|
@ -139,7 +133,7 @@ layer = -1
|
|||
|
||||
[node name="TitleBackground" type="ColorRect" parent="TitleBackgroundLayer" unique_id=1768697365]
|
||||
unique_name_in_owner = true
|
||||
material = SubResource("ShaderMaterial_title_water_native")
|
||||
material = SubResource("ShaderMaterial_title_grass_native")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ class_name RuntimePerformanceProfile
|
|||
extends RefCounted
|
||||
|
||||
const PROFILE_ENVIRONMENT_VARIABLE: String = (
|
||||
"NETFISHING_PERFORMANCE_PROFILE"
|
||||
"straywild_PERFORMANCE_PROFILE"
|
||||
)
|
||||
const LEGACY_LIGHT_ENVIRONMENT_VARIABLE: String = "NETFISHING_LOW_END"
|
||||
const LEGACY_LIGHT_ENVIRONMENT_VARIABLE: String = "straywild_LOW_END"
|
||||
const NORMAL_PROFILE: StringName = &"normal"
|
||||
const LIGHT_PROFILE: StringName = &"light"
|
||||
const NORMAL_WORLD_RENDER_SCALE: float = 1.0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
extends Node
|
||||
|
||||
## Enforces NETfishing's nearest-neighbor-only artwork policy at runtime.
|
||||
## Enforces straywild's nearest-neighbor-only artwork policy at runtime.
|
||||
##
|
||||
## Godot uses separate texture-filter enums for CanvasItem and 3D materials.
|
||||
## Applying both here prevents imported models, dynamically created controls,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue