Difference between revisions of "User:Azwaldo Villota/Making a HUD"
m |
|||
Line 15: | Line 15: | ||
Right-click the HUD and select Edit. We can edit a HUD ''while'' we are wearing it. Cool, eh? | Right-click the HUD and select Edit. We can edit a HUD ''while'' we are wearing it. Cool, eh? | ||
''' | For ''designing'' your HUD, it helps to write out a step-by-step description of what the HUD will do when in use. Then, approach the scripting challenges one by one, to provide the interaction in each step of your description. | ||
It is helpful to join a scripting group in SecondLife™; there, you can ask questions when you hit trouble with a script. | |||
<br /> | <br /> |
Revision as of 04:01, 30 May 2013
Basic Info
Start at this wiki's HUD page, and make a simple HUD as an exercise. You could make a HUD to gather information about locations you visit.
Start by creating a practice HUD 1. rez and edit a small prim (cube) 2. make it small: 0.1 m x 0.1 x 0.1. 3. name the obj PracticeHUD 4. Add a New Script in Contents tab (just keep the default script, for now) 5. TAKE the obj into Inventory. 6. Right-click new obj in Inventory and select: Attach to HUD > Center
You should see your cube prim appear in center of viewer. Touch it to see the New Script in action. Right-click the HUD and select Edit. We can edit a HUD while we are wearing it. Cool, eh?
For designing your HUD, it helps to write out a step-by-step description of what the HUD will do when in use. Then, approach the scripting challenges one by one, to provide the interaction in each step of your description.
It is helpful to join a scripting group in SecondLife™; there, you can ask questions when you hit trouble with a script.
Helpful Links
- LSLwiki.net category for "Land" - contains a couple of functions you might use to gather information about locations
- Viewer URI Name Space (Info about SLURLs)
User's Manual | Advanced_menu | Statistics Bar Guide | All Shortcut Keys
LSL Portal | LSL 101 | LSL 101/A Gentle Introduction