0 Members and 1 Guest are viewing this topic.
Thanks so much you all have helped so much
Quote from: BlakPilar on February 18, 2012, 12:34:14 pmDid you try the matrix-based version I sent you? Or do you just want to do a string-based mapper?Matrix tilemapping will be definitely faster. However, the size when the map gets kinda big....* TBO_Yeong shudders
Did you try the matrix-based version I sent you? Or do you just want to do a string-based mapper?
Quote from: TBO_Yeong on February 18, 2012, 12:36:37 pmQuote from: BlakPilar on February 18, 2012, 12:34:14 pmDid you try the matrix-based version I sent you? Or do you just want to do a string-based mapper?Matrix tilemapping will be definitely faster. However, the size when the map gets kinda big....* TBO_Yeong shuddersYeah he might be forced to rely on XCOPY or Doors CS's Zcopy function. X.x. A 12x8 matrix in storage format (in the code) is between 250 and 350 KB large, so if your game got 200 maps (even less than Metroid II), it won't even get close to fit in RAM. In addition to that such matrix in matrix file format takes around 1 KB of RAM. They're much faster for collision detection, though.
My code (and Yeong's "fixed" code ) had a small bug
Quote from: chattahippie on February 18, 2012, 02:04:54 pmMy code (and Yeong's "fixed" code ) had a small bugI only fixed your sub( stuff