At 12/16/12 05:06 PM, MSGhero wrote:
I'm confused as to what the purpose of GTLib is...cave generation, socket server stuff, NAPE?
it does a lot in a little.
_downloadManager.downloadFiles(["http://download.thinkbroadband.com/1GB.zip", "http://download.thinkbroadband.com/512MB.zip", "http://download.thinkbroadband.com/200MB.zip"], ["test", "test2", "test3"]);
_camListener.video.x = stage.stageWidth - _camListener.video.width;
_camListener.video.y = stage.stageHeight - _camListener.video.height;
all of that does this:
streams an MP3 from an online source
downloads files to the user's computer
listens for microphone input and plays it back through the speakers (via accessible ByteArray and Sound object)
listens for camera input and puts the image on the stage (the direct Video route, rather than the blitting route)
asynchronously generates a 2000x1000 cave system in a vector of booleans (asynchronous so it doesn't freeze or crash when generating large maps)
I just wanted to make things easier on myself and others, so I started making classes that I thought devs would have fun using.