Software Support > GroovyMAME

Lightgun flasher over groovymame in fullscreen

<< < (5/17) > >>

psakhis:
Updated plugin simplifying code, i think multi gun/button is resolved.

phasermaniac:
Yes, tested with lbutton and rbutton of mouse and now seems to work. Very nice!
But I return to the press/release topic, let's see if we can comunicate properly, because I think we were missunderstanding. Maybe my engrish:

Now, for me, it works this way:
When I press the button "gain" applies until I release the button. If I set "frames to apply gain", it seems to apply them once I release the button.
I think this is the best for games that uses a machine gun, with constant fire (beast busters, operation wolf, etc). Those games used actually analog joysticks, not crt guns. Those would benefit with a gain on the whole button press, but there's no need of any extra gain frame on release.

What I think it would be the best for crt guns:
When I press the button gain applies just "frames to apply gain", disable gain even if the button is still pressed. No matter when you release the button.
This I think would be the best for actual crt gun games like Time crisis, Point Blank, Lethal enforcers.... As they plays as a normal gun, only one bullet fires and you don't need to bright the screen the whole button press.
Maybe the user will have to investigate how many gain frames each game needs to work properly.
This way, the flashing is gonna be the shorter possible, and so the less anoying to the eyes. Bear in mind there are games you have to do rapid fire, or in 2p games, lots of shots per minute are fired.

So what would I do?
I think the best would be:
0 "frames to apply gain": apply gain until release (for machine gun games)
X "frames to apply gain": apply gain X frames from the beggining of the press

Thanks

psakhis:

--- Quote from: phasermaniac on September 14, 2022, 05:02:48 pm ---Now, for me, it works this way:
When I press the button "gain" applies until I release the button. If I set "frames to apply gain", it seems to apply them once I release the button.
I think this is the best for games that uses a machine gun, with constant fire (beast busters, operation wolf, etc). Those games used actually analog joysticks, not crt guns. Those would benefit with a gain on the whole button press, but there's no need of any extra gain frame on release.

--- End quote ---
Exactly that's it, i always test plugin with opwolf.


--- Quote from: phasermaniac on September 14, 2022, 05:02:48 pm ---What I think it would be the best for crt guns:
When I press the button gain applies just "frames to apply gain", disable gain even if the button is still pressed. No matter when you release the button.
This I think would be the best for actual crt gun games like Time crisis, Point Blank, Lethal enforcers.... As they plays as a normal gun, only one bullet fires and you don't need to bright the screen the whole button press.
Maybe the user will have to investigate how many gain frames each game needs to work properly.
This way, the flashing is gonna be the shorter possible, and so the less anoying to the eyes. Bear in mind there are games you have to do rapid fire, or in 2p games, lots of shots per minute are fired.

--- End quote ---
Ok i finally got it. Isn't necessary refresh gain frames while button is pressed, only when isn't gain applied and is detected a new cycle of pressed button.

psakhis:
Updated plugin with new method "Fixed frames".

I hope I have succeeded this time.

EDIT: if you exit with gain applied it will affect brightness settings of mame. I need to check if i can avoid this.

phasermaniac:
Yes, that's the concept.
The only drawback I see is that now, if you use "gain method=fixed frames", you press one gunlight button while the other is still pressed it doesn't flash, and it should.
This is working perfect in "gain method=until release"

Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version