world scene

This commit is contained in:
Nordup 2024-11-27 02:06:27 +04:00
parent c6ba0bfd7d
commit f46e46efd0
9 changed files with 77 additions and 394 deletions

View 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)

View file

@ -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():