What are ramp dropables? I'm confused.
Requiem recently discovered that you can change a ramps width/height in real-time, by turning a light state on and off to refresh. It is news to me.. and wonderful news.

I am imagining the possibilities of animating models with timers this way. I am curious how the ball is affected on a moving ramp. I am going to look more into this when I have some time off.
THANKS Requiem!
Edit: Your demo table doesn't seem to work. The flippers and plunger are not releasing when you let go of the key... and the ramp is not animating. hmm.
Edit2: You have (2) Table1_KeyUp(ByVal keycode) subs. I integrated the ramp code into the first one, and deleted the other. The flippers and plunger now work, but the ramp is still not moving. hmmm
Edit3: I tried this..
Sub Table1_KeyDown(ByVal keycode)
If keycode = PlungerKey Then
Plunger.PullBack
End If
If keycode = LeftFlipperKey Then
LeftFlipper.RotateToEnd
PlaySound "FlipperUp"
Ramp1.WidthBottom = 0
Ramp1.WidthTop = 0
Light1.state = 1
Light1.state = 0
End IfAnd.....
Sub Table1_KeyUp(ByVal keycode)
If keycode = PlungerKey Then
Plunger.Fire
End If
If keycode = LeftFlipperKey Then
LeftFlipper.RotateToStart
PlaySound "FlipperDown"
Ramp1.WidthBottom = 250
Ramp1.WidthTop = 250
Light1.state = 1
Light1.state = 0
end ifNo luck with that either... Now I am really confused..
Edit 4: I added an image to the light. The table starts with the light off. When I press the flipper the light comes on, and remains on. Shouldn't it pretty much be shut off all the time, and maybe come on for a split second when you hit the flipper?
Has anyone else been able to get the demo table working?
Edited by Rawd, 12 June 2011 - 04:57 AM.