Added descriptions

This commit is contained in:
Arthur
2022-12-11 10:53:31 +01:00
parent 13e4e7b221
commit 607e2da99e
11 changed files with 168 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
extends SubViewport
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
size = $Label3D.rect_size
pass

View File

@@ -1,7 +1,11 @@
extends Node3D
func _ready():
self.get_node("play").hide()
func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
self.scale = Vector3(1.5,1.5,1.5)
self.get_node("play").show()
if event is InputEventMouseButton:
if event.button_index == MOUSE_BUTTON_LEFT and event.pressed == true:
print("Start Game")
@@ -10,4 +14,5 @@ func _on_area_3d_input_event(camera, event, position, normal, shape_idx):
func _on_area_3d_mouse_exited():
self.get_node("play").hide()
self.scale = Vector3(1,1,1)