Switching scenes using objects in Godot is EASY (Devlog/Tutorial)

Published: 22 March 2024
on channel: Opaque
39
5

Discord– https://discord.com/invite/ndCpjkMg
My first ever game – https://opaquestd.itch.io/road-to-prestige-2d


code

extends Area3D

func _on_body_entered(body): [signal]
if body.name == "name of object's node"
get_tree().change_scene_to_file(scene's file)


note–things inside the "[ ]" in the above code are just instructions and shall not be included in the actual code


On this page of the site you can watch the video online Switching scenes using objects in Godot is EASY (Devlog/Tutorial) with a duration of hours minute second in good quality, which was uploaded by the user Opaque 22 March 2024, share the link with friends and acquaintances, this video has already been watched 39 times on youtube and it was liked by 5 viewers. Enjoy your viewing!