- View New Content
-
Getting Started
-
Tutorials
Tutorial Categories
Tutorials Main Page Installation and Setup Downloadable TutorialsROM Adjustments
Number of Balls Adjustments Volume Adjustments
-
Visual Pinball Tables
VP 8 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP 9 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP9 Cabinet Tables
All Full Screen Cabinet Full Screen B2S Cabinet Spanned Cabinet Tables Media Packs ROMsVPX Tables
All VPinMAME Recreations VPX- - /VPinMAME - MOD Tables VPX Recreations VPX Originals Media Packs ROMs VR
-
Frontend Media & Backglass
Media Packs
Complete Media Packs Wheel Logos VideosBackglasses
dB2S Animated Backglasses UVP Animated Backglasses Topper Images
- Future Pinball Tables
-
Design Resources
Main Resources
Table Templates Playfield Images Image Library Sound Library Key CodesVP Guides
VP8 Guide - English VP8 Guide - Deutsch VP9 Guide - English VP9.1.x Guide - English VP Object Guide VPM DocumentationFuture Pinball Resources
Playfield Images 3D Model LibraryFuture Pinball Guides
FP Script Guide Big Draco Script Guide FP Table Design Guide FP DMD Guide
- Other Features
- Bug Tracker
- Image Gallery
- Blogs
-
More
Submitter
SUPPORT TOPIC File Information
- Submitted: Jun 12 2011 12:05 AM
- Last Updated: --
- File Size: 32.76KB
- Views: 2730
- Downloads: 176
Download Ramp Dropable Tutorial 1.1
1 Votes
Here is an example of ramp dropables (works only with alpha ramps)
If keycode=32 then 'Use "D" to Drop the ramp
Ramp1.WidthBottom=0 'Sets the Width to 0 so has the appearance of not being there
Ramp1.WidthTop=0
Ramp1.Collidable=false 'Ball does not interact with ramp
End If
If keycode=19 then 'Use "R" to raise the ramp
Ramp1.WidthBottom=250 'Sets the width of the ramp to make it "appear"
Ramp1.WidthTop=250 ' - these values can be set to anything, not necessarily the initial ramp values
Ramp1.Collidable=true 'Ball does now interact with ramp
End If
Light1.state = 1 'Refresh the light state to force VP to re-draw the whole playfield
Light1.state = 0
If keycode=32 then 'Use "D" to Drop the ramp
Ramp1.WidthBottom=0 'Sets the Width to 0 so has the appearance of not being there
Ramp1.WidthTop=0
Ramp1.Collidable=false 'Ball does not interact with ramp
End If
If keycode=19 then 'Use "R" to raise the ramp
Ramp1.WidthBottom=250 'Sets the width of the ramp to make it "appear"
Ramp1.WidthTop=250 ' - these values can be set to anything, not necessarily the initial ramp values
Ramp1.Collidable=true 'Ball does now interact with ramp
End If
Light1.state = 1 'Refresh the light state to force VP to re-draw the whole playfield
Light1.state = 0
Other files you may be interested in ..
- 18,351 Total Files
- 57 Total Categories
- 872 Total Authors
- 25,386,978 Total Downloads
- Frozen Butterfly Latest File
- anthias Latest Submitter
user(s) are online (in the past 15 minutes)
members, guests, anonymous users










are all trademarks of VPFORUMS.