added Graphics and sound Effects and more overhauls
This commit is contained in:
parent
c887a2168c
commit
b9d4288900
214 changed files with 3378 additions and 198 deletions
16
scenes/UI/mainMenu/mainMenu.gd
Normal file
16
scenes/UI/mainMenu/mainMenu.gd
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
extends Control
|
||||
|
||||
@onready var game = preload("res://scenes/main/main.tscn")
|
||||
|
||||
func _on_button_start_pressed() -> void:
|
||||
laodGame()
|
||||
Globals.touchscreen = false
|
||||
|
||||
func laodGame():
|
||||
get_tree().get_root().add_child(game.instantiate())
|
||||
queue_free()
|
||||
|
||||
|
||||
func _on_button_start_touch_pressed() -> void:
|
||||
Globals.touchscreen = true
|
||||
laodGame()
|
||||
Loading…
Add table
Add a link
Reference in a new issue