Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMRoomPack

Package GameMaker rooms and load them as you please · By YellowAfterlife

Tiles Are Not Placed On Correct Layers

A topic by ArcJamie created Oct 18, 2020 Views: 207 Replies: 1
Viewing posts 1 to 2

Hey Yal!

Small issue I've had with room pack which I've ignored for a long time.

I have rooms stored in scripts, which can all load into one big room mostly fine:




If we take the collision tiles for example (I have a script that will collide with tiles in a certain layer), they are loaded onto a different layer to what they were before. The chunk at the top is already in the room, but the chunk where I walk through the red collision tiles is from roompack loading.


I have double checked and the rooms stored in scripts have the exact same layers and depths as the room they are loaded into. Very confusing.

Hope you can help!

Thank you,

Jamie~

Developer

You can try using layer_get_depth with a layer name to check depths. Otherwise it's hard to tell what this could be.