Hi,
I want to make audio control icon with scroll bar which can control by mouse drag , not by clicking button or something.
could you let me know how to do that ?
thanks,
Audio control scroll bar
- Hopki
- Gnome
- Posts: 13032
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Use the Seek Bar element in the skin editor, you select which file it should work with.
See: https://ggnome.com/doc/pano2vr/create-s ... s/seekbar/
Regards,
Use the Seek Bar element in the skin editor, you select which file it should work with.
See: https://ggnome.com/doc/pano2vr/create-s ... s/seekbar/
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Owen,
I read your post on the forum and, using the existing component I've added a volume slider that may be what you are looking for.
You can view the project here: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html. The volume is set to 50% when the project loads, then moving the mouse left and right along the slider will change the volume in 10% increments. Clicking on the "-" will set it to 0% and clicking on the "+" will set it to 100%.
Note: as this was just a test I used 10% increments but it could be smaller than that.
The way it's done is to have a number of rectangles that when the mouse is over them they change a variable and the volume to the setting of the rectangle. To show the progression I have another rectangle that sits on top of the percentage value rectangles that uses a size logic block, in the additive mode, to change it's width in response to the rectangle value that the mouse is over.
Regards,
Tony
Quite a while ago I'd created a component "Playlist" in response to a request on the Facebook User Group https://www.facebook.com/groups/p2vr.ga ... 659272572/but I want to control only volume level by mouse drag, except play time.
I read your post on the forum and, using the existing component I've added a volume slider that may be what you are looking for.
You can view the project here: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html. The volume is set to 50% when the project loads, then moving the mouse left and right along the slider will change the volume in 10% increments. Clicking on the "-" will set it to 0% and clicking on the "+" will set it to 100%.
Note: as this was just a test I used 10% increments but it could be smaller than that.
The way it's done is to have a number of rectangles that when the mouse is over them they change a variable and the volume to the setting of the rectangle. To show the progression I have another rectangle that sits on top of the percentage value rectangles that uses a size logic block, in the additive mode, to change it's width in response to the rectangle value that the mouse is over.
Regards,
Tony
Last edited by Tony on Mon Aug 28, 2023 2:45 am, edited 1 time in total.
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/
Hi Owen,
Link fixed in original post. Here it is: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html
Tony
Link fixed in original post. Here it is: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html
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/
Unfortunately there is no built in slider like that.
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/
Hi Owen,
Here's a link to the updated project: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html
I've attached a zip file with all the project files.
Note: the slider is disabled on mobile as you can only change audio via the buttons on the mobile phone.
regards,
Tony
Here's a link to the updated project: https://p2vr.s3.ap-southeast-2.amazonaw ... index.html
I've attached a zip file with all the project files.
Note: the slider is disabled on mobile as you can only change audio via the buttons on the mobile phone.
regards,
Tony
- Attachments
-
- Playlist-Volume-Slider.zip
- (7.8 MiB) Downloaded 257 times
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/