Tutorial: Using a Variable to set Text Button Styles

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

In response to this post, viewtopic.php?f=6&t=14221, by Mattmatt21 asking if he could change the font on "Variable Changed" event, I've created this "Little Bits" tutorial.

hvb_preview.jpg
hvb_preview.jpg (523.8 KiB) Viewed 4567 times

Here's the finished project https://p2vrtutorials.s3-ap-southeast-2 ... index.html

You can find the tutorial at https://tonyredhead.com/pano2vr-little- ... s-variable

The tutorial comes with a basic skin, local fonts and a CSS file.

In the tutorial we will modify the skin by;
  • Reviewing the elements that make up the CSS file
  • Adding a Variable
  • Setting up the CSS buttons
  • Adding Actions to change the Variable value
  • Integrating the images
  • Activating the Close button and screen tint
Once again feedback and comments welcomed.

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply