Difference between revisions of "User:Azwaldo Villota/Making a HUD"

From Second Life Wiki
Jump to navigation Jump to search
(add wiki footer)
(add image)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Getting Started, Basic Info==
==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. <br />
An introductory discussion of HUDs can be found [[http://anqi.wikispaces.com/HUD here]]. Or, start at this '''SecondLife&trade;''' Wiki's [[HUD]] article, and make a simple HUD as an exercise.
 
===Examples===
You could make a HUD to gather information about locations you visit.  
<br />
<br /><br />
  Start by creating a practice HUD
  Start by creating a practice HUD
  1. rez and edit a small prim (cube)
  1. rez and edit a small prim (cube)
Line 11: Line 14:
  6. Right-click new obj in Inventory and select:
  6. Right-click new obj in Inventory and select:
     Attach to HUD > Center
     Attach to HUD > Center
   
  <br /><br />
You should see your cube prim appear in center of viewer. Touch it to see the New Script in action.  
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?
Right-click the HUD and select Edit. We can edit a HUD ''while'' we are wearing it. Cool, eh?
<br /><br />
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.
<br /><br />
It is helpful to join a scripting group in SecondLife™; there, you can ask questions when you hit trouble with a script.
<br /><br />
1 -
2 -
3 -


'''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===
==ANQI - An open resource==
[[file:Monash University 001.jpg|thumb|Monash University Tea House (click to see full size)]]
The ANQI HUD was developed for the Jianghu Tea House in Monash University's [[http://www.virtualhanyu.com/ Chinese Island]].
<br />
[[http://anqi.wikispaces.com/home ANQI Wiki]]
<br />
<br />
 
 
 
<div id="box">
==Helpful Links==
<div style="padding: 1em">
* [[Creating HUDs]]
* [[Creating HUDs]]


* [http://lslwiki.net/lslwiki/wakka.php?wakka=land LSLwiki.net category for "Land"] - contains a couple of functions you might use to gather information about game destinations
* [http://lslwiki.net/lslwiki/wakka.php?wakka=land LSLwiki.net category for "Land"] - contains a couple of functions you might use to gather information about locations


* [http://lslwiki.net/lslwiki/wakka.php?wakka=LibraryEnhancedSLURL LibraryEnhancedSLURL]
* [http://lslwiki.net/lslwiki/wakka.php?wakka=LibraryEnhancedSLURL LibraryEnhancedSLURL]
* [[Viewer URI Name Space]] (Info about SLURLs)
* [[Viewer URI Name Space]] (Info about SLURLs)


[[User's Manual]] | [[Advanced_menu]] | [[Statistics Bar Guide]] | [[All_keyboard_shortcut_keys | All Shortcut Keys]]
<br />
<br />
<br />
[[LSL Portal]] | [[LSL 101]] | [[LSL 101/A Gentle Introduction]]
 
<div id="box">
==Wiki Pages of Interest==
<div style="padding: 1em">
[[User's Manual]] | [[Advanced_menu]] | [[Statistics Bar Guide]] | [[All_keyboard_shortcut_keys | All Shortcut Keys]]


* [[LSL Portal]] | [[LSL 101]] | [[LSL 101/A Gentle Introduction]]
* [[Viewer 2 Tweaks]]
* [[User:Zai_Lynch | a ''sweeeet'' user page]] <br />


[http://www.mediawiki.org/wiki/Help:Contents MediaWiki Editing]


</div>
</div>
</div>
</div>

Latest revision as of 21:49, 26 May 2014

Basic Info

An introductory discussion of HUDs can be found [here]. Or, start at this SecondLife™ Wiki's HUD article, and make a simple HUD as an exercise.

Examples

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.

1 - 2 - 3 -


ANQI - An open resource

Monash University Tea House (click to see full size)

The ANQI HUD was developed for the Jianghu Tea House in Monash University's [Chinese Island].
[ANQI Wiki]


Helpful Links