MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

uRebelScum
Regular
Reged: 09/21/03
Posts: 538
Loc: California
Send PM
Re: Food Fight Rev 3 looking or walking to the right when not touching joystick
11/04/08 10:13 PM


> You will always look to the right cause 0-255 does not have a perfect middle. 7f or
> 127 is not a perfect middle. 127.5 would be it. That's why looking always to the
> right because autocentering is always to 7f. Using 80 will cause looking always to
> the left.

Theory or did you change the default? (Can't test at work , but will try tonight.)

> The original joystick is analog with springs for autocentering but there is a great
> deadzone programmed in the game for it.

Err, I wouldn't call that deadzone. If you move the mouse around in that short range, the eyes follow. And since the throw follows where you're looking, that's not dead in game play. To me it seems the game's deadzone, zone where moving the stick has zero effect on the game, is very small if existing at all. I'd say FF has three zones: movezone, lookzone, and centerzone. The last might not exist, if 7f is look right and 80 is look left.

Even if we call the "lookzone" a type of deadzone, mame's deadzone is very different. In mame's deadzone, moving the joystick doesn't change what value mame sends the game. Within mame's deadzone, mame sends the game default values (well, after it centers them at the autocenterspeed).


Robin
www.urebelscum.speedhost.com/ or
www.angelfire.com/retro/u_rebelscum or
rain.prohosting.com/urebel







Entire thread
Subject Posted by Posted on
* Food Fight Rev 3 looking or walking to the right when not touching joystick bgoodr 10/31/08 06:12 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick MAMEBase  11/01/08 02:51 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick bgoodr  11/01/08 08:06 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick uRebelScum  10/31/08 09:16 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick bgoodr  11/01/08 09:00 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick uRebelScum  11/04/08 01:45 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick bgoodr  11/04/08 07:10 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick StilettoAdministrator  11/04/08 07:51 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick uRebelScum  11/04/08 09:45 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick Canim  11/04/08 08:39 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick uRebelScum  11/04/08 10:13 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick Canim  11/04/08 10:59 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick uRebelScum  11/08/08 02:24 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick Canim  11/08/08 08:51 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick MAMEBase  11/03/08 11:18 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick bgoodr  11/04/08 07:14 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick Anonymous  11/08/08 11:53 PM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick bgoodr  11/10/08 05:05 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick MAMEBase  11/27/08 03:24 AM
. * Re: Food Fight Rev 3 looking or walking to the right when not touching joystick bgoodr  11/27/08 09:44 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 34 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 7427