Jump to content

Multi Tab HUD


You are about to reply to a thread that has been inactive for 1111 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I'd use a single face on a prim.
Paint a texture with hud and active/inactive tabs for the 1st tab
Repeat for every tab
Thats it - the rest is scripting

The script needs to keep track what tab is active and check the coordinates where the user clicked.
If the tabs and buttons are ordered somehow in a raster then it's only a bit of math to turn the coordinates into a button number.
If the buttons are placed chaotic then a list of button coordinates is needed.
If a tab is clicked just change the offset or - if all the tabs don't fit on one texture - switch texture

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1111 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...