? How to load a map using an array without distortion? (Page 1) ● SmileBASIC Source Forums

Sign In

*Usernames are case-sensitive
Forgot my password
Contest results!

How to load a map using an array without distortion?

  • #1 ✎ 138 Warrior Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Drawing I like to draw! Hobbies 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 Posted Edited by Warrior
  • #2 ✎ 1508 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS OSP Contest 2 Winner I won the second SmileBASIC Source OSP Contest! Programming Contest Second Year My account is over 2 years old Website 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) Posted Edited by 12Me21