Amasan – Common sense 2.0

Commentary on Digital Media and Usability

LSL tests: recursive function

June 18th, 2008 ·

It’s good practice to make code easy to maintain, so sometimes you’ll want to use less code using recursive functions. In order to find out how to this works in Second Life I created this small recusive example:
integer i = 0; integer top = 0; [...]

[Read more →]

→ Add Comment Tags:··

LSL tests: walking states

June 17th, 2008 ·

I had to create a simple script to turn a neon sign on and off. I decided to have both versions of the sign in a single texture and changing the offset with a script. Instead of using a timer and using llSetTimeout() instead I opted to pause the script for a small amount of [...]

[Read more →]

→ Add Comment Tags:··