H
Hudsonius
Guest
So I initially made it so that when my character collided with the door object, it would go to the next room, and then to the go to x and y points I wanted to appear at. The method I used was inefficient for saving and loading, and a pain to use. So I created a object to define where the start of the room was, where the end was, and what the room number was.
I put this in the create event:
Then put it in every room. I made sure to say to go to the next room before saying where to set the start and end and to send my player there. However, whenever my player loads in the next room, he is far below the intended area (out of the map). I tried making the object persistent and changing the event to room start but that didn't work either. Any help or better way to do this?
Thanks in advance.
I put this in the create event:
Code:
if room = (room_name)
{
roomnumber = (room number)
roomstartx = (starting point x)
roomstarty = (starting point y)
roomendx = (ending point x)
roomendy = (ending point y)
}
Thanks in advance.