![]() |
|
|||||||
| VP/VPM General Information and First Aid Station Request Help about Visual Pinball or Visual PinMAME. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Would someone be able to create a ball image for me from the attached antique US penny? I need it for my current project, a nifty Trade Stimulator from the 1940s. Thanks in advance. Send the end result to zifbob1@juno.com. You will receive credit when I release the table.
John
__________________
John
|
|
#2
|
||||
|
||||
|
Need a bit more coding help with the same game. I have three kickers which I want to have a ball created and kicked from at random. Is there a way to do that. Here is the code segment.
If keycode = 25 Then DropKicker1.CreateBall DropKicker2.CreateBall DropKicker3.CreateBall End If Thanks . . . John
__________________
John
|
|
#3
|
|||
|
|||
|
You could enable the kickers timer to tick let's say once a second and in the timer routine you kick a ball out at random:
Code:
sub kicker1_timer
kicker1.timerinterval = 1000
if rnd < 0.25 then
kicker1.CreateBall
kicker1.kick 180,1
end if
end sub
|
|
#4
|
||||
|
||||
|
Thanks TomB, I would nver have figured out that I needed a timer to make this work. The example table is really appreciated, since it will help me understand the inner working of the whole thing.
John
__________________
John
|
|
#5
|
||||
|
||||
|
Well TomB, I tried your code, and I'm probably doing something wrong, since a ball is kicked out of each of the three kickers. And I just realized I left out some important information. My table is a one ball Trade Stimulator. Sorry, but could you adapt your code for me. What I need is for the one and only ball to drop straight down from one of three kickers placed across the top of the table.
I'm using a single key press to launch the ball, and wonder if it is possible to check for a possible ball in another kicker at the bottom of the table, from the previous game, and if it's present, destroy it before creating and launching a new ball. If the ball doesn't land in a specific kicker, but in one of several other kickers, it is destroyed to end the game. Only a winning ball remains in the bottom kicker. losing balls are destroyed. Sorry for the confusion. And no, it will not work using one kicker and having the ball kicked out in random directions. John
__________________
John
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spinning an image on the ball left or right? | druadic | Table Development Workshop | 19 | 12-27-2010 01:05 PM |
| Skee Ball image! | druadic | Resources & Tutorials | 4 | 11-14-2010 08:13 PM |
| help in exporting an image file | morethansleeving | VP/VPM General Information and First Aid Station | 2 | 04-22-2010 10:40 PM |
| change ball image | unclewilly | Visual Pinball and Visual PinMAME Discussion | 2 | 07-09-2009 03:49 PM |
| Webring Image Help | JonPurpleHaze | Site Announcements | 27 | 01-06-2006 04:38 PM |