Main > Project Announcements
DIY Skeeball
<< < (20/28) > >>
RayB:

--- Quote from: Chris on January 18, 2005, 05:07:01 pm ---
--- Quote from: Ixliam on January 18, 2005, 05:03:25 pm ---Its not bouncing, its that the ball takes a bit to go down, so it is holding down the button for longer than it needs to be, same thing if you held it down on the keyboard.
--- End quote ---
RayB 1, Chris 0.
--- End quote ---
Ixliam:
I'll give Chris the extra 5 point bonus  ;D

I downloaded DJGPP and Allegro, and converted the code over from some of the silly Borland items. Allegro is the real key, with it being able to control the keyboard. I was able to tell it to ignore repeated keys and then I cleared the buffer just for grins. I could leave a weight on the button now and it wouldn't repeat. Thanks so much both of you for putting me on the right track. I have the WAV files playing now as well as my keyboard issue fixed.

My LED's and some other parts are coming in tomorrow, so this weekend I will probably finish it up save for the netting cage. My dad can't finish it before he has surgery on Friday, so it will get finished when he gets back on his feet.  I'll just have to aim well. The other parts should let me automate the ball release by adding in a solnoid to pull the release lever down, so then you would just push the front button, the score would reset and the balls release.

Here's what that code piece looks like now..


install_keyboard();
set_keyboard_rate(0,0);
/--- trim ---/
roll = readkey();
switch(roll)
{
     case 353: printf("         Ring 10\n");
                     SndFx = load_wav("10ring.wav");
                     play_sample(SndFx, 255, 128, 1000, 0);
                     (outportb)(0x378,0x01); //Score Count
                     (outportb)(0x378,0x00);
                     skbscore += 10;
                     clear_keybuf();
                     break;


Brad
Pyro:
This project just keeps looking better and better. Great job!

I was looking at the latest picture you posted and got to thinking that some tee moulding would look great on the inside of the holes of the target. The only thing that would prevent that from working would be if there wasn't enough clearance for the balls to pass through after the addition of the tee moulding.

Anyway, congrats on a job well done.

Pyro
Ixliam:
T-molding on the holes... not a bad idea. It would have no problem fitting, as those are 4" holes and the skeeballs are 3" diameter.

Brad
Chris:

--- Quote from: Ixliam on January 18, 2005, 11:00:01 pm ---I'll give Chris the extra 5 point bonus
--- End quote ---
Navigation
Message Index
Next page
Previous page

Go to full version