LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

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)