B
B4lcken
Guest
Hello, I'm very new to Game Maker, like I just downloaded it. It's a school project and we have to use game maker.
So basically, I need to change the position between rooms, so it matches up? You get the idea. I come from the left side on one room, and enter a the right side in the new scene.
Here's my code:
I switch rooms propperly, I just need to change the X value
So basically, I need to change the position between rooms, so it matches up? You get the idea. I come from the left side on one room, and enter a the right side in the new scene.
Here's my code:
GML:
if (x >= 1200) {
if (room !=(room_first)) {
room_goto_previous();
if (room == FaktaIndenfor) {
global.Mark.x = 10;
}
}
} else if (x < 0) {
room_goto_next();
if (room == FaktaUdenfor) {
global.Mark.x = 1200;
}
}