User:Azwaldo Villota/Making a HUD
Jump to navigation
Jump to search
Getting Started, Basic Info
Suggest making a simple practice HUD to start learning. You could even make a HUD that would help you gather information for your game.
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?
Consider: What if you had a HUD that chatted details about your location when you needed it? You could then visit a few spots you are considering for your first trial, and [touch] this practice HUD to get region name, coordinates, even the name of the land owner. Then, it will be easy to gather that data from chat to contact land owners, write the instructions for the game, or use in your final game HUD's script.
Helpful Links
- LSLwiki.net category for "Land" - contains a couple of functions you might use to gather information about game destinations
- LibraryEnhancedSLURL
- Viewer URI Name Space (Info about SLURLs)