gfxgfxFreeBASIC Games Directory Forumgfxgfx
gfx gfx
gfx
Welcome, Guest. Please login or register. May 18, 2013, 01:52:40 PM

Login with username, password and session length
11.5.2013 - Added a webpage for the latest FBGD competition.

13.3.2013 - Members registrations temporary disabled. For all membership requests, please email me: lachie13@yahoo.com

30.11.2012 - The ninth issue of BASIC Gaming is out! Read it here: http://games.freebasic.net/forum/index.php?topic=560.0

22.11.2012 - Be sure to check our currently running annual FBGD game making competition. This year's theme is SEASONS OF THE YEAR, 300 $ first place prize, and the competition runs till 18th of February. Link: http://games.freebasic.net/forum/index.php?topic=559.0
gfx
gfx
*
gfxgfx
gfxgfx gfxgfx
gfxgfx Home Help Search Login Register   gfxgfx
gfx gfx
gfx
Pages: [1]
Print
Author Topic: NES Zapper connected to PC  (Read 1330 times)
StefanPN
Recruit
**
Gender: Male
Posts: 43


Stefan Kostić

stefanpn@live.com
View Profile WWW Email
« on: December 29, 2010, 10:31:30 AM »

Few months ago I got an idea of interfacing NES, FAMICOM or FAR-EAST copy of the named console’s Zapper to my PC. I've accomplished the task and written test programs in FreeBASIC and VisualBasic (by using library that is written in FreeBASIC).


You can read the full story and download samples here.

I hope that this belongs to FB Games forum because the thing is done so I can write games that use NES Zapper in FB.

Any comment will be appreciated. Smiley
Logged

Brick Break
Forum Sage
*****
Gender: Male
Posts: 412



View Profile
« Reply #1 on: December 29, 2010, 04:24:59 PM »

Well, it has been done before, but this is amazing! To have alternate means of controlling the game in FreeBASIC is always a good thing. The only problem I see is that not everyone has a Zapper, and not everyone is able to hack their zapper to do this. Maybe in the future a similar light gun will be sold in stores. Cool!
Logged

StefanPN
Recruit
**
Gender: Male
Posts: 43


Stefan Kostić

stefanpn@live.com
View Profile WWW Email
« Reply #2 on: December 29, 2010, 05:29:01 PM »

Thanks for replay,

I am planing to explain how to build your own Zapper out of a toy gun and few more components, also want to show how you can interface it to PC via USB or PS/2 port.

It has been done before but a bit more complicated, and anyone who understand how NES Zapper works would see why there would be hard to implement NES Zapper for use in 3D FPS, especially if it is fast placed with many characters on screen simultaneously. The article you provided have terse description with no any additional info. I am not familiar with any PC game that uses NES Zapper. Although there was a thing called Lightgun for PC and a dozen games written for it.
Logged

Brick Break
Forum Sage
*****
Gender: Male
Posts: 412



View Profile
« Reply #3 on: December 30, 2010, 12:14:08 PM »

Thanks for replay,

I am planing to explain how to build your own Zapper out of a toy gun and few more components, also want to show how you can interface it to PC via USB or PS/2 port.

It has been done before but a bit more complicated, and anyone who understand how NES Zapper works would see why there would be hard to implement NES Zapper for use in 3D FPS, especially if it is fast placed with many characters on screen simultaneously. The article you provided have terse description with no any additional info. I am not familiar with any PC game that uses NES Zapper. Although there was a thing called Lightgun for PC and a dozen games written for it.
I'm looking forward to that tutorial. By the way, would it be possible to use the PC's Lightgun for the same purpose, with the same library? Just a thought.
Logged

StefanPN
Recruit
**
Gender: Male
Posts: 43


Stefan Kostić

stefanpn@live.com
View Profile WWW Email
« Reply #4 on: January 17, 2011, 06:35:44 PM »

Here I am after some time (had some prolonged holiday).

Actually library just provides access to I/O registers, but I am thinking to write a driver so Zapper could be detected as computer joystick.

I've been researching on the topic, Sega's Virtua Cop series and House Of The Dead series do use light gun for PC, just it do not work same way as NES Zapper, they have some special sync hardware which is connected between VGA output and monitor cable.
Logged

darkhog
Recruit
**
Posts: 21


View Profile
« Reply #5 on: October 06, 2011, 11:39:43 AM »

How about Zapper vs. LCD thing? If I remember correctly Zapper can't be used with LCD screens, e.g. you can't play DuckHunt on LCD tv.
Logged
StefanPN
Recruit
**
Gender: Male
Posts: 43


Stefan Kostić

stefanpn@live.com
View Profile WWW Email
« Reply #6 on: October 18, 2011, 03:01:40 PM »

Sorry for late response,

If I can remember right I've tried out Zapper on a few LCD screens and the results are following:
- On 3 of a few Samsung LCD screens Zapper did not work proper - latter I assumed that it may have something to do with brightness or color settings.
- On 2 tested Philips LCD monitors it worked as it should.

I must say that I was using simplified version of Zapper with different photo-diode, so the actual Zapper maybe not working with those LCD screens. But actual Zapper worked great with big, old CRT monitor (which I do not have anymore - and for I lack LPT port also).

Anyway I gave up on this project, partly its doomed anyway, and because I have a job that makes me busy almost all the time. I've left the desktop scene and moved to Web and mobile platforms - it is what makes money. But that decision gave me new opportunities and knowledge.

Still when having some spare time, which happens rarely, I work on alternative ways of control in games, I was recently inspired by Wii-mote, XBOX 360 Kinect and PS3 Nunchak so I am developing something in FB (using N3XTD engine), which uses Your body moves and a web cam to act as game input device. I know there are few project already running TrackIr, HeadTracker with Wii-mote, FreeTrack... But this is something different and far less complicated - it just runs with no need for additional "hardware", wires and so...
Logged

Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Cerberus design by Bloc
Valid XHTML 1.0! Valid CSS!
gfx
gfxgfx gfxgfx