K
Kerberos
Guest
Hey guys!
I upgraded to Game Maker Studio 2 recently and I have a big performance issue. I use a tile-system with lots of tiles with different depths because you should be able to walk ontop and behind them depending on the player's z-axis. I also implemented a heightmap system which creates these tiles. The problem is that the game drastically slows down if I use a lot of these in a room. I also implemented this system in Game Maker Studio 1.4 and I had no performance issues there because Game Maker 1.4 deactivates all tiles which are not visible.
Do you have any idea why tiles with different depths slow down the game so much? Maybe it's important to know that I don't add the tiles in the room editor but with code. If there is no solution I probably have to downgrade to Game Maker 1.4 again...
Thank you very much for your help!
I upgraded to Game Maker Studio 2 recently and I have a big performance issue. I use a tile-system with lots of tiles with different depths because you should be able to walk ontop and behind them depending on the player's z-axis. I also implemented a heightmap system which creates these tiles. The problem is that the game drastically slows down if I use a lot of these in a room. I also implemented this system in Game Maker Studio 1.4 and I had no performance issues there because Game Maker 1.4 deactivates all tiles which are not visible.
Do you have any idea why tiles with different depths slow down the game so much? Maybe it's important to know that I don't add the tiles in the room editor but with code. If there is no solution I probably have to downgrade to Game Maker 1.4 again...
Thank you very much for your help!