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

Pubblicato il: 22 marzo 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online Switching scenes using objects in Godot is EASY (Devlog/Tutorial) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Opaque 22 marzo 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 39 volte e gli è piaciuto 5 spettatori. Buona visione!