Hello to anyone reading my post,
Is there a way to make a 3D title screen using a StaticBody, I have already made some progress in it but I came across a problem.
here is the code I use for my 3D title screen
extends StaticBody
func _ready():
connect("input_event", self, "on_input_event")
func on_input_event(camera, event, click_position, click_normal, shape_idx):
var mouse_click = event as InputEventMouseButton
if mouse_click and mouse_click.button_index == 1 and mouse_click.pressed:
print("clicked")
get_tree().change_scene("res://Game/Scenes/World.tscn");
What happens is the following the title screen scene loads (I see my animations and stuff) and when I hover my mouse over the New Game (it doesn't require a mouseinput) it already starts.
what I want is that when my mouse hovers over the New Game it wont directly start the selected scene but waits until you have made the input (Leftclick).
My game is in its early stages so my title screen looks terrible but it I do want it to work
