1. Width and Height of the rooms are 2000x2000.2. About 592.3. The player's X origin is 20
Ok, you have just confirmed what I suspected previously. The rooms in the tutorial are only 640 wide, I had the WarpX set to 620 in the LeftExit Object.So, open the LeftExit object, then open the code for Collision with Player object and change where it says WarpX=608; Change the number using the following formula: room_width - (player's sprite_width + player's sprite x_offset)So if your room width is 2000, Your sprite width is 64, and X origin 20, you would end up with 2000 - (64+20) = 1916 for WarpX.
Oh, I see! Yeah, it works now, thanks! And I assume it's the same for TopExit, only with Y?
I made the rooms the same size, and now the problem only happens when going from the right room to the left, but when I go from the left room to the right, it works fine.
Some questions to help get to the bottom of this: 1. What is the width of your rooms?2. At what x coordinate does the player end up when going from right to left? 3. Is your player sprite's xorigin something other than 0?
1. Width and Height of the rooms are 2000x2000. 2. About 592. 3. The player's X origin is 20