-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neuro integration toggle and overlay input blocker
- Loading branch information
Showing
11 changed files
with
236 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[remap] | ||
|
||
importer="font_data_dynamic" | ||
type="FontFile" | ||
uid="uid://bjv5hli5b22x2" | ||
path="res://.godot/imported/Nebulous Content.otf-0b22f1d23cdb2d0a282336d59332910b.fontdata" | ||
|
||
[deps] | ||
|
||
source_file="res://fonts/Nebulous Content.otf" | ||
dest_files=["res://.godot/imported/Nebulous Content.otf-0b22f1d23cdb2d0a282336d59332910b.fontdata"] | ||
|
||
[params] | ||
|
||
Rendering=null | ||
antialiasing=1 | ||
generate_mipmaps=false | ||
disable_embedded_bitmaps=true | ||
multichannel_signed_distance_field=true | ||
msdf_pixel_range=8 | ||
msdf_size=48 | ||
allow_system_fallback=true | ||
force_autohinter=false | ||
hinting=1 | ||
subpixel_positioning=1 | ||
oversampling=0.0 | ||
Fallbacks=null | ||
fallbacks=[] | ||
Compress=null | ||
compress=true | ||
preload=[{ | ||
"chars": [], | ||
"glyphs": [], | ||
"name": "New Configuration", | ||
"size": Vector2i(16, 0) | ||
}] | ||
language_support={} | ||
script_support={} | ||
opentype_features={} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends OptionButton | ||
|
||
|
||
# Called when the node enters the scene tree for the first time. | ||
func _ready() -> void: | ||
item_selected.connect(select_option) | ||
|
||
func select_option(option: int) -> void: | ||
GameState.neuro_integration_mode = option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
extends Control | ||
@onready var texture_rect: TextureRect = $TextureRect | ||
|
||
|
||
# Called when the node enters the scene tree for the first time. | ||
func _ready() -> void: | ||
visible = false | ||
GameState.neuro_wait_started.connect(show_overlay) | ||
GameState.neuro_wait_ended.connect(hide_overlay) | ||
|
||
|
||
func show_overlay() -> void: | ||
visible = true | ||
texture_rect.modulate = Color.TRANSPARENT | ||
var tween := create_tween() | ||
tween.tween_property(texture_rect, 'modulate', Color.WHITE, 0.25) | ||
|
||
func hide_overlay() -> void: | ||
var tween := create_tween() | ||
tween.tween_property(texture_rect, 'modulate', Color.TRANSPARENT, 0.25) | ||
await tween.finished | ||
visible = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
scenes/upgrade_screen.tscn → objects/upgrade_screen/upgrade_screen.tscn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.