Wednesday, December 5, 2007

Color by Numbers

There are many different ways to navigate spaces in SL from walking to flying to teleporting and with all of these large spaces sometimes it can get overwhelming and disorientating. Some people like to use maps, but I personally do not want to have an extra window open as I find the SL interface cramped as it is, so I (described in an earlier post) put all of the text/ures on the IML region facing one direction. Unfortunately this led to issues when trying to fly quickly across the campus as most can't read and fly very well. What I wanted was the SPACE itself to communicate to the user WHERE they were located. All of the regions in SL have coordinates Zero to 255 for coordinates X, Y, Z.. just like the color code Zero to 255 for R,G,B...SO... I jumped into the Linden Scripting Language to write my first piece of code and so far it seems to have worked very well. It takes the objects coordinates and translates it into RGB code and now you can say oh I must be near the gallery space because it's yellow...... bzzzrp