Light Gun games.

Pagina 2/2
1 |

Van Ivan

Ascended (9302)

afbeelding van Ivan

24-05-2007, 14:18

For sure it can handle enemies in the same x-axis. The problem is that you need one-frame delay for each enemy on the screen. It can be done, but needs some additional coding. For 2 enemies it is doable, for more than 2 it can be a PITA.That's good news!

Van Ivan

Ascended (9302)

afbeelding van Ivan

25-05-2007, 00:38

I've just taken a look at eBay and there are lots of cheap second hand LIGHT PHASERs.

Van pitpan

Prophet (3145)

afbeelding van pitpan

25-05-2007, 01:36

Get them. Maybe a new game will come in a near future Question

But be sure to get two of them: DUCK HUNT is boring for 1P, but great for 2P (and even 3P) player action.

Hint: while two players can shoot two lightguns, a third player can control the duck using the cursor keys Wink

Van Ivan

Ascended (9302)

afbeelding van Ivan

25-05-2007, 11:05

Get them. Maybe a new game will come in a near future QuestionA new entry for MSXdev maybe? As you said in Karoshi's forums with an MSX2 and the h-blank interrupt it would be possible to detect more than one target in the same frame.

Hint: while two players can shoot two lightguns, a third player can control the duck using the cursor keys WinkI read this feature in the user's manual in PDF format of Duck Hunt. Nice! One player can try to fool the other players Smile

Van NYYRIKKI

Enlighted (5898)

afbeelding van NYYRIKKI

25-05-2007, 15:38

According to NYYRIKKI multiple enemies at the same time on the x-axis is something that Gunstick or ASCII plus-x terminator can't handle Sad

The problem here is that you can't detect multiple enemys on same
frame if they are in same x-axis. This means that every enemy needs
it's own shaddow picture to be displayed. Human eye can forgive easyly
one or two "incorrect" pictures, but when the amount of pictures
increase it gets more disturbing. Also it is possible that aim changes
between pictures. To understand this better it is good to know how
these lightguns work.

I did quite a lot of tests with the ASCII plus-X terminator laser to
get the information correct for BlueMSX support. Here are the final
results that were used. I have posted some not correct results earlyer.

The correct distance to use the gun seems to be about 80cm between 14"
monitor (CM8833, older model) and head of the gun. At this distance
the circle, that is visible to the transistor seems to have only about
5 pixel radius after that the light effect to result will drop
locarithmically very fast. The transistor will activate pretty quickly
after detecting the light. Delay is normally only about one line (*).

When the capasitor is fully loaded it will hold the signal up about 31
lines. How well the capasitor is loaded depends of the brighness of
the pixels inside the circle. This capasitor gets loaded to almost
full pretty fast so I would say, that normal hit will cause signal to
go on for 24-28 lines. The gun is more sensitive to green and blue
light than red light.

Note:
Measurements have been made with "normal" screen brighness in "normal"
home environment (40W light bulp on roof) with "normal" screen height
settings. Changeing these parameters will change the results. Propably
manufacture date of the light gun will also have effect.

* All lines I talk about are NTSC scanlines (with incomplete timing as
normal in MSX)

Pagina 2/2
1 |