ok so im having a problem with my minimap arrow
the code i have works perfectly when my map is (128x600)x(128x600) but when it is (64x600)x(64x600) the arrow for the minimap is about 30-40 pixels too high
here is the code i use to place it
arrowx = object position x(20000)+((object position x(1)/cubesize(1))*2)-(mapsize(1)-1)
arrowy = object position y(20000)+((((object position z(1)+y)/cubesize(1))-object size y(20000))*2)-(mapsize(1)/(6-(mapsize(1)/32)))-(object size y(20000)/2)
position object 20001,arrowx,arrowy,500
object 20000 is the minimap pic
object 20001 is the arrow pic
object 1 is the player character
mapsize is either 128 or 64 depending on the size of the map
cubesize is 600 - the size of the cubes that make up my level
remember it works fine when the map is 128x128, but when the map is 64x64 the arrow is up too high on the screen
btw both the map pic and the arrow pic are 3d plains