Pinball - finished project

Post your NXJ projects, project ideas, etc here!

Moderators: 99jonathan, roger, imaqine

Pinball - finished project

Postby Atr » Fri Jul 16, 2010 6:34 am

Hey, I've made a Pinball Machine and have programmed it with LeJOS. The program is quite simple (250 lines, few listeners) but it's all I needed.

Pinball Machine uses one NXT Brick, 4 touch sensors (3 of them are attached to one port) and 2 light sensors. After pressing orange button the ball is given and a new game is started. Every game has three balls total. If the ball is lost within 10 seconds after start, the ball is returned without losing one.

Scoring points:

- losing ball after 10 seconds - 50 points
- hitting both Red and Green Bumpers - 100 points
- hitting one of the Yellow Bumpers - 200 points
- getting ball to the Black Hole - 300 points

Black Hole opens up every 500 points, then player has 20 second to get the ball into it. If 5 seconds is left Black Hole's light starts flashing.

Multimedia

[URL=http://www.brickshelf.com/cgi-bin/gallery.cgi?f=433212]Image
Gallery[/URL]

Video:
http://www.youtube.com/watch?v=r5twv_tEzYg

If you like this pinball machine you can check my other projects on youtube or in the gallery.
Atr
New User
 
Posts: 9
Joined: Sat Oct 11, 2008 8:02 pm
Location: Poland

Re: Pinball - finished project

Postby Shawn » Sun Jul 18, 2010 12:16 am

Nice :!: :!: :!: :!: :!:
User avatar
Shawn
Advanced Member
 
Posts: 723
Joined: Wed Sep 12, 2007 4:59 am
Location: Tokyo

Postby gloomyandy » Sun Jul 18, 2010 7:27 am

Nice,
How did you connect 3 touch sensors to the same port? Are you using one of the port splitters or perhaps the TouchMux?

Andy
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3879
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Postby Atr » Sun Jul 18, 2010 1:26 pm

gloomyandy wrote:Nice,
How did you connect 3 touch sensors to the same port? Are you using one of the port splitters or perhaps the TouchMux?

Andy


These 3 sensors are old RCX touch sensors connected via RCX cables and then via NXTtoRCX converter cable. Brick doesn't recognize which sensor was pressed.
Atr
New User
 
Posts: 9
Joined: Sat Oct 11, 2008 8:02 pm
Location: Poland


Return to NXJ Projects

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff