This commit is contained in:
PfandBoss
2022-12-11 09:22:26 +01:00
5 changed files with 41 additions and 2 deletions

View File

@@ -4,4 +4,5 @@ func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton:
if event.button_index == MOUSE_BUTTON_LEFT and event.pressed == true:
print("Start Game")
get_tree().change_scene_to_file("res://Nodes/game.tscn")

View File

@@ -0,0 +1,10 @@
extends Node3D
func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton:
if event.button_index == MOUSE_BUTTON_LEFT and event.pressed == true:
print("Credits/Spielbeschreibung")
#TODO: Richtige Szene Einfügen
get_tree().change_scene_to_file("res://Nodes/game.tscn")

View File

@@ -0,0 +1,10 @@
extends Node3D
func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton:
if event.button_index == MOUSE_BUTTON_LEFT and event.pressed == true:
print("Settings")
#TODO: Settings:
get_tree().change_scene_to_file("res://Nodes/game.tscn")