mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Merge branch 'main' of https://github.com/PfandBoss/SemesterGameJam2022
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
10
scripts/3DUI/papierrolle_flach.gd
Normal file
10
scripts/3DUI/papierrolle_flach.gd
Normal 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")
|
||||
|
||||
10
scripts/3DUI/zahnrad_gross.gd
Normal file
10
scripts/3DUI/zahnrad_gross.gd
Normal 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")
|
||||
|
||||
Reference in New Issue
Block a user