mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 17:17:31 -04:00
world scene
This commit is contained in:
parent
c6ba0bfd7d
commit
f46e46efd0
9 changed files with 77 additions and 394 deletions
13
app/scripts/ui/menu/help_button.gd
Normal file
13
app/scripts/ui/menu/help_button.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
extends RoundButton
|
||||
|
||||
@export var url: String
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
|
||||
pressed.connect(open_help_url)
|
||||
|
||||
|
||||
func open_help_url() -> void:
|
||||
OS.shell_open(url)
|
|
@ -6,8 +6,8 @@ class_name SplashScreen
|
|||
@export var ui_events: UiEvents
|
||||
@export var splash_screen: Texture2D
|
||||
|
||||
@onready var width: int = int(ui_events.current_ui_size.x)
|
||||
@onready var height: int = int(ui_events.current_ui_size.y)
|
||||
@onready var width: int = int(size.x)
|
||||
@onready var height: int = int(size.y)
|
||||
|
||||
|
||||
func _ready():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue