Browse Search Popular Register Upload Rules User list Login:
Search:
For zigor

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 265.1 kB

Date added: 2023-07-21

Rating: 5

Downloads: 969

Views: 347

Comments: 6

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Here is a single button when user clicks it, the torque value will switch between 2,000 and 50,000. The global variable called scene.my.torque holds the current torque value.

How to include this button in your scene: First download this scene and open it in Algodoo. You will see one button. Select the entire button including the label above it. When selected, use the Move tool to move the button and label into your "Components" folder. Once in your Components folder you can close this scene and then open your wood chipper scene. When open, point your cursor on the "Components" folder and grab the button with text label and slide it to any place on the background. Don't put it on your machine yet because it will be hidden behind the machine. You must select both the button and label. When selected, hold down the Shift key and roll your mouse wheel back toward you. That should move the button to the front layer. Now you can move it and place it on your machine anywhere you like. Then go into the motor script menu and you should see the variable "motorTorque". In the text box you should see a number like 2000 or 50000. You can delete that number and replace it with the following script:

{ scene.my.torque }

Make sure to include both curly brackets. Now close the script menu and save your scene. Now test it by running the scene and clicking the button. It should switch between 2000 and 50000 torque value. If desired, you can modify anything like the label text and the torque values if you so desire.
Please log in to rate this scene
edit
Similar scenes
Title: old medium rare toilet wwith zigor' s tank
Rating: 5
Filesize: 0.63 MB
Downloads: 1047
Comments: 0
Ratings: 1
Date added: 2024/03/17 06:19:11
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: EPIC WEIRD SHELF TOILET LUXE
Rating: 5
Filesize: 161.4 kB
Downloads: 479
Comments: 0
Ratings: 1
Date added: 2024/03/29 08:24:38
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Grunt Shinley's Simple Toilet Flushing Mechanism
Rating: 5
Filesize: 351.08 kB
Downloads: 585
Comments: 0
Ratings: 1
Date added: 2024/03/27 23:53:04
Made with: Algodoo v2.1.0
Rating: rated 5
download
That is a lot of torque. Wonder what they’re making!

Anywho buttons like this can be incredibly useful.
zigor asked me to make a button for his wood chipper scene.

Anyone is welcome to use it. Just make sure that you learn something today, and have fun!
Last edited at 2023/07/21 02:05:27 by Xray
hmmmmmmmmmmm ok skilled scripter i testing
Xray, what does the "Downloads by you" statistic mean in someones profile in the algodoo Website? Its always a number higher then the amount of scenes that user has and it doesn't make sense to me.
It's exactly what it says.... It's the total number of scenes that the user has downloaded from Algobox to his/her device. The "you" is the user who you are looking at. It's not YOU, the person looking at another person's stats. I realize it's confusing, and it really has no value as far as I'm concerned but someone, many years ago, thought it would be useful.
Last edited at 2023/07/26 06:37:06 by Xray
Ok, Thank you!