How to load a map using an array without distortion?

Root / Programming Questions / [.]

MochaProbablyCreated:
I’m trying to take bg tiles from an array and load them, and i can do that but the problem is it’s not how it should load. Input: Output: Obviously this is not good and i can not figure out the root of the problem. Here is what i’m running NK43QE9M

You need to switch X and Y in your array. Access it as WORLD[Y,X] rather than WORLD[X,Y]. (And switch the width and height when creating it)