How to load a map using an array without distortion?
#1✎ 166MochaProbablyExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthNight PersonI like the quiet night and sleep late.Express YourselfDrawingI like to draw!HobbiesI’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.
Obviously this is not good and i can not figure out the root of the problem.
Here is what i’m running NK43QE9M
#2✎ 162912Me21Head AdminThird YearMy account is over 3 years oldWebsiteSyntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express YourselfYou 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)