Talk:Simple Map Collision Detection (Array Based)/@comment-24386245-20140808131651/@comment-9531161-20140818175615

I'm not sure what you mean by the first question... are you trying to store a map that's bigger than a GRP on a GRP? If so, you'll either have to "pack" the data by storing more than one tile on each GRP pixel, or use multiple GRPs and load them when necessary.

As for the second question, you'll just need to repeat the process of checking locations for each 8X8 block that the player takes up. For instance, when the player is 8X8, you only need to check for collision once, because the player is the same size as a map tile and thus can only occupy one tile space. However, if the player were 16X16, you'd need to check the 4 8X8 map tiles that the player can take up, as any one of those 4 tiles could be a BG that you can't enter. For 32X32, you'll need to check the 16 tiles that the player takes up. I would use a FOR loop to go through the possible tiles so you don't have to repeat code.