Building A simple slingshot from scratch.

Using File / New to open a new Table.
1)Create a wallIt Should be called wall1
2)Select its top left Point

3)Delete the Point selected
4)Select it's lower left Point
5)Right Click over Point & Select Slingshot

6)you now made that part of the Wall a slingshot
7)Right Click over the Triangular wall, Select Scale
8)Enter 2 in the ScaleX box & click ok That will make it twice as big.

9)Swap The Triangle you made with the LeftSlingshot, just drag the LeftSlingshot off the table for now.

10) add it to the script.

Sub Wall1_SlingShot()
PlaySound "Bumper"
End Sub

Note:You may have to type the Sub in the script, copy/paste sometimes doesn't work. You can put this at the very end of script.

11)Try it

 

Note: In release 0.62 option compil does no more appear. It is intergreateds in Play F5

 

Note: If you use

Sub Wall1_Hit()
PlaySound "Bumper"
End Sub

you won't get the slingshot sound effect.

To make a more realistic target using Slingshots so side & back hits will not drop it: Advanced User

Note:Slingshots are more sensitive near the center than the edge. So you need to divide the surface of the drop target into about ten sections or so, and make all of them slingshots. Now any ball that hits the front side will trigger the slingshot event, which will have code to drop the wall. Balls striking the side will not cause it to drop.
Another more reliable method. Simply place TWO drop targets lined up one behind the other, and only have the one in front has the hit event. Have them both dropped when the front is hit.

 


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

Go Back to Main Page