Character spawn point when changing scenes

Godot Version

v4.3.stable.official [77dcf97d8]

Question

Hello, I apologize if this is not the proper place for me to ask this.

I currently have two scenes with one player. It took me a while to figure out which scene transition works best for me, and I think I’ve found it thanks to this tutorial.

However, I have some questions, and it doesn’t seem he’s been active for almost a year.

Question are:

  1. do I have to drop my player.tscn (player) into every scene?

  2. ‘Spawn’ point isn’t functioning as intended as it does in the tutorial, I think I must’ve missed something? For example, if I go through a ‘door’ and go back through it, instead of starting at my ‘spawn’ I start from where my player.tscn is located within the scene.

  3. I’d like to extend this to a more dynamically changing one so I don’t have to statically put in my scene names into the script.

I’ve tried changing a few things with my limited knowledge, but I’m very much a newby so any help will be greatly appreciated.

For a more easier comparison, I’d just like to do an event creation of moving a player to another scene but also controlling the direction they’re looking at when they spawn, without having to create a player node in every scene. (Much like RPGMaker, just for ease of comparison.)

to create a spawn point you can make an area2D/3D and if the player entered in the area, his position gets saved here is a tutorial of how to do it

btw, the first method is the easiest one :slight_smile:

1 Like

Thank you so much, I’m not sure this is the way I want to handle this, but it does seem like that’s how RPGmaker was handling it as well, so keeping this in mind probably would make it easier if I can’t seem to work with other methods!

I have a Level Change Demo on my Github page here:

It’s publicly available and does a level change with a player and also demonstrates how to rotate the character to the proper position when it enters a room.

I built this demo based on the same tutorial you mentioned. So the code should look pretty familiar.

I hope that helps.

1 Like

Thank you so much :slight_smile: I ended up redoing a lot of it, as my character movements were also not as ordered as I’d like it to be.
I’m so thankful that you showed me this though I may end up going with this too!