she's a skeleton, she's got a sniper, you'll meet her as a boss but she becomes friendly.
her name is Eins, and i like her.
more on that when it's relevant again.
...
quick update, i have a pseudo death code now.
if (y>room_height){
room_restart();
}
this just says that when the character's y position, height, is more that the room's height value, the room restarts.
game maker is weird in that the lower the character is on the screen, the higher their y value is.
so the top of the room is y=0, and the bottom is y=room_height.
the x value works how you imagine it would, left side is x=0, right is x=room_width.
i did this for a practical reason.
that reason being i'm pretty sick of having to manually restart the game when i screw up the platforming and fall out of the world.
No comments:
Post a Comment