Baster5t
Baster5t

Reputation: 1

Game maker - when changing rooms in-game the character instead of going to the other room, duplicates and breaks

So, I'm new to Game maker, and while trying to make an object that teleports the player to the next room, instead it teleports the player a bit to the left inside another object and the character duplicates out of bounds, stuck there without being able to walk

I was just trying to make a room changing object or door

Upvotes: 0

Views: 67

Answers (1)

Steven
Steven

Reputation: 2122

If you want to keep the player object through different rooms, then you should check that object to be persistent.

Doing so means that you need to remove the player objects in all rooms, except the starting room, else it'll either get replaced, or duplicated. The position of the player object may also need to be adjusted when changing rooms.

Upvotes: 0

Related Questions