It is currently Wed Jun 26, 2019 11:01 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Shoot Zapper offscreen
PostPosted: Mon Feb 18, 2019 1:35 pm 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 914
Location: New York, NY
In Asder 20-in-1 (BMC-NTD-03 / Mapper 290), SHOOTER PART1 (game #18) requires you to shoot offscreen to reload your gun. Since the Zapper is simulated using the mouse, shooting (clicking) offscreen is not permitted in the emulators that I tested. I'm not even sure how it can be handled if you have a single monitor and the emulator is in fullscreen mode.


Top
 Profile  
 
PostPosted: Mon Feb 18, 2019 1:38 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 8395
Location: Seattle
Maybe the other mouse button?


Top
 Profile  
 
PostPosted: Sun Mar 24, 2019 9:02 am 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 914
Location: New York, NY
lidnariq wrote:
Maybe the other mouse button?


I implemented that, but pulling the zapper trigger offscreen does not appear to reload the gun after all. Either I coded this incorrectly or the game expects some other input for reload. I tried all the buttons on the standard controller plugged into Port 1, but none of them do the job either.

Any suggestions?


Top
 Profile  
 
PostPosted: Sun Mar 24, 2019 11:03 am 
Offline

Joined: Thu May 19, 2005 11:30 am
Posts: 930
No, pulling the trigger off-screen is exactly what the game expects. But: Looking at the NintendulatorNRS source code, which I have sent you, consider the following source code comment and the implementation is describes:
Code:
   /* Duck Hunt and Crime Busters check whether Trigger was *released*, then whether White was detected.
      For "Reload" to work properly, this means that White must not be detected at least a few frames *after* reload was released. */


Top
 Profile  
 
PostPosted: Sun Mar 31, 2019 1:31 pm 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 914
Location: New York, NY
NewRisingSun wrote:
No, pulling the trigger off-screen is exactly what the game expects. But: Looking at the NintendulatorNRS source code, which I have sent you, consider the following source code comment and the implementation is describes:
Code:
   /* Duck Hunt and Crime Busters check whether Trigger was *released*, then whether White was detected.
      For "Reload" to work properly, this means that White must not be detected at least a few frames *after* reload was released. */


Yep. That's basically what I was missing. Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group