How to change scenes entering a door
butterbean
Member Posts: 4,315
So I've tried a few things and so far have run into issues.
What I'm trying to do is walk through a door to change to the next scene.
I tried this solution, and created a rule within the door itself:
When game.upkey is true and actor overlaps or collides with main actor:
Change scene to Scene 2
The problems I've run into is that in the next scene, either the right key didn't reset itself, and the player will keep walking right, and I have to tap that key again to reset it
Or when I reach the door in the second scene, the up key didn't reset itself, and she will walk through the door automatically as if upkey is still engaged.
Should I create a rule within each new scene that resets the left or right key, as well as the up key so that she doesn't continue to walk right since it didn't reset from the time she touched the door to the time the next scene started?
What I'm trying to do is walk through a door to change to the next scene.
I tried this solution, and created a rule within the door itself:
When game.upkey is true and actor overlaps or collides with main actor:
Change scene to Scene 2
The problems I've run into is that in the next scene, either the right key didn't reset itself, and the player will keep walking right, and I have to tap that key again to reset it
Or when I reach the door in the second scene, the up key didn't reset itself, and she will walk through the door automatically as if upkey is still engaged.
Should I create a rule within each new scene that resets the left or right key, as well as the up key so that she doesn't continue to walk right since it didn't reset from the time she touched the door to the time the next scene started?