Good morning guys,
I started using this tool few weeks ago and as you might imagine I have many questions, but right now I am stuck with one 'big' issue, at least for me.
I want to create a game with a map with two central areas, these areas will have few rooms and inside those rooms I might need other rooms, I will share a small pic with the map distribution.
HERE IT IS (https://postimg.cc/SnQrSk42)
Case 1 (BIG1->A1)
My first problem is coming back from a room, I am using triggers to change the default starting point and then the change scene option, afterwards in the new room I am using a trigger with 'Scene->Switch Previous'. However, it looks like the default starting point is the same one.
CASE 2 (BIG1->A3->A3.1)
Anyways, I'd like to know how will to deal with a map like mine, because I have some suspicion that the scene change inside a changed scene will override the previous scene and I won't be able to use this functionality two times in a row.
Please bear in mind I am kind of new here and I am still getting used to this, so I might not be familiar with all the tools, I tried to find the solution in the forum or using Google but it was not enough.
Thanks in advance
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the commnunity, @monkey360ct.
For general movement between scenes, it's typically best to use the Scene: Switch Action, with the intended "next scene" details explicitly set. To switch from Big1 -> A1, for example, you'd have the Action switch specifically to A1.
You don't need to rely on altering the Default PlayerStart, if that's what you're getting at. If a scene has multiple entry points, you can place down multiple PlayerStarts and configure them to work for different previous scenes. The "Default" PlayerStart is only used if no more appropriate PlayerStart is found - or if the game is begun from that scene.
I'm only speaking generally, however. If you can share screenshots of any specific issue you're having, I can give more direct advice.
Thanks for your response, @ChrisIceBox !
Well, basically the issue I am facing is that after using the change scene using switch as you mentioned I want to come back. I was not specific enough but let me clarify, the character should be able to move around the whole map, so Big1->A1 and A1->Big1 should be possible.
You also mentioned 'you can place down multiple PlayerStarts and configure them to work for different previous scenes'. How should I configure them? I think I missed something here and cannot find my mistake in the documentation or the manual
Also, I assumed there should be a PlayerStart defined in the Scene Manager and I had set it in every scene, should this be causing the problem?
And last but not least, let's imagine the following scenario, I want to move from Big1->A1-A1.1->A1->Big1, being A1.1 a scene inside A1.
Again, sorry if this questions are too simple.
Edit 14:25 -
I was able to solve the first scenario, but if you can give me some advices will be appreciated, especially considering the fact if the 'room inside a room' will be problematic using the approach I am using with the 'Switch previous scene', I did some tests and as I expected, after trying come back from A1 to Big1 after the Big1->A1-A1.1->A1 resulted in coming going back to A1.1
The Scene: Switch previous Action will always go to the last-visited scene - the "previous previous" will be forgotten.
This Action should generally only be used when you don't know what that scene will be. For example, if you have a map screen in its own scene, and you want to switch back to whichever gameplay scene the Player was coming from before opening it.
The scenario you describe should only involve the Scene: Switch Action, with each Action explicitly stating which scene you want to switch to.
The PlayerStart only affects where the Player begins from - not which scene they switch to. You'll generally want to have as many PlayerStarts in a scene as you do means to enter it. A1, for example, would have 2: one for Big1, and another for A1.1.
The Default PlayerStart, assigned in the Scene Manager, is just a fallback - it'll be used if AC can't find a more appropriate one to use.
Ok, got it. I was intending to use previous scene as the default option to come back to the previous showed scene in-game.
Thanks for your support, @ChrisIceBox