M
McWolke
Guest
Hey there, i am thinking of a way to do different heights in a top down game like zelda. I talk about something like this: https://i.ytimg.com/vi/Bd_x0mrSmhM/maxresdefault.jpg You have the base floor and the upper floor. While you are on the base floor you can walk under the bridge. While in the upper floor you can walk on the bridge. I already have an idea how it might work but it seems so inefficent. I would give every object a variable "floor" and check if they are equal, if yes, then collide. Also change the depth depending on the current floor. But if i do it this way i either had to change every instances variable in the creation code. Which could take forever.. Or i had to make different objects for every floor. Like obj_solid_base_floor and obj_solid_upper_floor and so on. Is there any better way?
I also posted this question on reddit: https://www.reddit.com/r/gamemaker/comments/4q2pm0/different_heights_floors_layers_in_one_room/
I also posted this question on reddit: https://www.reddit.com/r/gamemaker/comments/4q2pm0/different_heights_floors_layers_in_one_room/