I've created an "infinite" world with chunk loading. I've been testing and searching around for an answer for the past few hours and I can't seem to find anything.
I wanted to use tiles originally, but they only fill in in the actual room which in the case of this game is not very big. The main problem is that because the game allows you to go past the room border, and even into the negatives, from what I've gathered, I won't be able to tile because game maker doesn't allow it? .
I've tried adding sprites to an asset layer, but as you can imagine, after a certain threshold, my frame rate tanks, as to be expected. I didn't see a way of clearing an asset layer though.
I've also tried drawing sprites just inside of the view along my "chunk grids", but for whatever reason that was really choppy even when my fps was in the 400s... I'm assuming I coded it poorly, and I'll try again tomorrow. But in the mean time, are there any other work around to placing tiles outside of the room? Or maybe some other ideas my sleep deprived brain is struggling to come up with?
I wanted to use tiles originally, but they only fill in in the actual room which in the case of this game is not very big. The main problem is that because the game allows you to go past the room border, and even into the negatives, from what I've gathered, I won't be able to tile because game maker doesn't allow it? .
I've tried adding sprites to an asset layer, but as you can imagine, after a certain threshold, my frame rate tanks, as to be expected. I didn't see a way of clearing an asset layer though.
I've also tried drawing sprites just inside of the view along my "chunk grids", but for whatever reason that was really choppy even when my fps was in the 400s... I'm assuming I coded it poorly, and I'll try again tomorrow. But in the mean time, are there any other work around to placing tiles outside of the room? Or maybe some other ideas my sleep deprived brain is struggling to come up with?
Last edited by a moderator: