Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Please help me

A topic by The Ungodly God created Oct 05, 2021 Views: 124 Replies: 2
Viewing posts 1 to 2
Submitted

Please help me                                 

If anyone uses Godot engine please say me how to change from one level to another level without hard coding (change scene) in every level 

If anyone knows how to do this share me your info

Submitted

Unsure what you're up to here; typically, something like this:

get_tree().change_scene("path") // or change_scene_to(PackedScene)

But you might also consider swapping scenes in a viewport using add_child(). Here's the documentation that may help:

https://docs.godotengine.org/en/stable/tutorials/misc/change_scenes_manually.htm...

Good luck!

Submitted(+1)

Thanks