Editor Objects
Spinner

Spinner
Spinners are an object that spins when the ball hits it.
![]()
Spinner Button
![]() |
|
|
|
| First Lets Create a Spinner:If you don't have a table already opened File / New to open a new Table. | Click on the Spinner button | Move Cursor towards the table you are building.It should turn into a Spinner cursor, click this where you would like your Spinner placed. | and you get a Spinner. |
Now that we have a Spinner Created we can look at the Spinner Option Properties.
|
|
|
| Click on options in the ToolBar | and select the Spinner by clicking on it. |
Doing this will show us the Spinner properties.
|
|
Spinner - Name for type of object you have selected. Name - Spinner1 The name of the Spinner, you can change this to whatever you want. Tip I usually don't rename the Spinner. The name is used to address the object through the script. ------Color & Formatting Front Image - Select an image for the front of the spinner. Back Image - Select an image for the back of the spinner. Color - Change the color of the Spinner. Cast Shadow of the Spinner , checked by default. ------Position X - Shows The X position of the Spinner on the table. Y - Shows The Y position of the Spinner on the table. Lenght - Changes the Top Lenght of the Spinner. Default is 80 Height - Changes the Bottom Height of the Spinner. Default is 60 Rotation - Turns the Spinner's angle. Overhang - Changes the lenght of the wire holding the Spinner. Surface - Selects a surface for the spinner to be placed on. -----Physics Friction - Higher Number Tightens (Spin Less) or Lower Number Loosens(Spins More)the Spinner ------Misc
Timer Enabled - Unchecked is default. The Timer is off. He can be activated in the script and called by the procedure SpinnerName_Timer() Timer Interval - If enabled will call SpinnerName_Timer() in the script .Unchecked is default. This option defines the time befor the procecedure is started 1000=1 second. UserValue - This Variable is userdefined and can be use for wathever you want. I use it often as event flag in the script.
Note:: You
will need a graphic program to make Images. I usually make Spinner
|
Spinner Script
Using demo4rampspinner.zip
Spinners are pretty simple to get working. In the above example you can open it up & check the spinner out, in action. The script for the Spinner is at the bottom of the script in this demo.
Note:A spinner uses Spinner1_Spin() not Spinner1_Hit()
| '************************** Spinner1
Sub Spinner1_Spin() PlaySound "swish" End Sub '************************** Spinner1 Ends here |
Editor - Learn the Basics of the Visual Pinball Editor. Menu Bar Functions - Importing Images & Sounds.
Table Options - Ball Color - This explains Table options, importing a ball image & Changing ball color.
Right Click Options - Explains All Right Clicking Options for All Objects.
Building a simple Sling Shot - Learn how to make a slingshot from scratch using a basic wall.
Decals - Explains Decal Options, & shows how to import an image for a decal. Pinball DemoDecal
Plungers & Kickers - How to use a Plungers & Kickers & a Simple Pinball Demo.
Walls & Targets - Explains Walls & Targets. Pinball Demo1
Lights Collections - Learn how to use lights in a collection using collection manager. Pinball DemoLights
Lights & Bumpers - Learning Light & Bumper States & Lights, Bumpers Option Bar.Pinball Demo2
Gate & Sound Events - Explains Gate options & how to use sound events in keyup & keydown.Pinball Demo2
TextBox & Making Score count - Shows you how to use TextBoxes & AddScore & Dim Score. Pinball Demo3
Ramps - Explains Ramp Options & shows you how to build a simple Ramp. Pinball Demo4
Spinners - Explains Spinner Options & shows script to make a spinner work. Pinball Demo4
Triggers - Explains Trigger Options & shows script to make a Trigger work. Pinball Demo5
Timers - Explains Timer Options & shows script to make a Timer work. Pinball Demo6
Flippers - Explains Flipper Options & shows script to make a Flipper work. Pinball Demo7
EMReel - Shows you how to use EMReels. Pinball Demo8