Well, I thought I had them mastered, and have been using them for several months now, but I just can't seem to find the problem with this particular code...Would the above code mess up if the actual position of the player/cpu was not the exact coordinates of where the array thinks it is? I was running some tests, and the player is always at 101.5,101.5 instead of 99,99. I think this is a rounding error, because I call the floor(unit\xLox/tilesize) to determine the latter. Would the rounding error cause the problem?
array maps
Blitz3D Forums/Blitz3D Beginners Area/array mapsThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.