Add character calls, settings controls, and gameplay fixes
This commit is contained in:
parent
7b2898c11a
commit
40696b6bd9
33 changed files with 1120 additions and 78 deletions
|
|
@ -1123,6 +1123,13 @@ func _process(_delta: float) -> void:
|
|||
func _apply_runtime_settings(settings: PlayerSettingsType) -> void:
|
||||
if settings == null:
|
||||
return
|
||||
var requested_window_mode: DisplayServer.WindowMode = (
|
||||
DisplayServer.WINDOW_MODE_FULLSCREEN
|
||||
if settings.fullscreen_enabled
|
||||
else DisplayServer.WINDOW_MODE_WINDOWED
|
||||
)
|
||||
if DisplayServer.window_get_mode() != requested_window_mode:
|
||||
DisplayServer.window_set_mode(requested_window_mode)
|
||||
_apply_world_pixelation(settings.world_pixel_size)
|
||||
_ui_pixelation.set_pixel_size(settings.ui_pixel_size)
|
||||
_ui_pixelation.set_on_screen_keyboard_enabled(
|
||||
|
|
|
|||
|
|
@ -405,7 +405,7 @@ script = ExtResource("54_shoreline_ambience")
|
|||
[node name="WavesAudio" type="AudioStreamPlayer" parent="ShorelineAmbience" unique_id=193530658]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("55_waves")
|
||||
bus = &"SFX"
|
||||
bus = &"Environment"
|
||||
|
||||
[node name="WorldPixelationPostprocess" parent="." unique_id=344378000 instance=ExtResource("16_world_pixelation")]
|
||||
unique_name_in_owner = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue