arrakis-lsl
v0.5.0
Published
A module for Arrakis System, allow to controls Second Life's Objects by Arrakis LSL Client
Downloads
2
Readme
Arrakis LSL Interface
A module for Arrakis System, allow to controls Second Life's Objects by Arrakis LSL Client.
Basic Example
require('arrakis'); // Import arrakis module
require('arrakis-lsl'); // ! Import modules then arrakis !
var cmd = 'lsl | prim LINK_SET --color <.1,0.5,7> 0.8 --text "I\'ve was modified by Arrakis System" <0,.8,1> 1';
// 'lsl' must be execute first because it generate the protocol
// 'prim' change primitives of object that contains arrakis-lsl-cli
console.log(Arrakis.exec(cmd)); // -> LSL Protocol output
Implementation Example
require('arrakis'); // Import arrakis module
require('arrakis-lsl'); // ! Import modules then arrakis !
var express = require('express');
var bodyParser = require('body-parser');
var app = express();
app.post('/secondlife', bodyParser.text({ type: 'text/plain' }), function(request, response){
var output = Arrakis.exec(request.body);
response.send(output);
});
app.listen(3000);
Table of Contents
Introduction
Arrakis LSL is a module designed to develop applications in Second Life, allowing you to create effects and animations very quickly and without the direct use of the scripting of SL system. You can use in environments that are not derived strictly from Firestorm or that use preprocessing to compile scripts as arrakis-lsl-cli does all the coordinated work with the module orders.
Installation
$ npm install arrakis-lsl
Todo
- Login System
- Animations
- Functions