flycast icon indicating copy to clipboard operation
flycast copied to clipboard

Android portrait and tilt sensor to play breakout/balance games

Open soundsnow opened this issue 3 years ago • 0 comments

portrait orientation/rotation

Android tilt sensor for those games that do not support Paddle or Steering Wheel, this is the alternative famous games Breakout Arkanoid or games that require trackball Marble Madness

Roll 'n Rocker is undoubtedly a failure, I recently tested an arcade game mame4droid has good support for Tilt Controller

<PreferenceScreen android:key="tiltController" android:title="Tilt controller" 
    android:summary="Select it to open tilt controller options" android:persistent="false">

	<CheckBoxPreference android:key="PREF_TILT_SENSOR"
		android:title="Tilt sensor" 
		android:summary="Enable to use tilt sensor."
		android:defaultValue="false" />		

    <ListPreference
		android:entries="@array/pref_dz_options"
		android:title='Dead zone'			
		android:key="PREF_TILT_DZ"
		android:entryValues="@array/pref_dz_values"
		android:defaultValue="3" android:dependency="PREF_TILT_SENSOR"/>
		
	<com.seleuco.mame4droid.prefs.SensitivityPrefScreen
		android:key="PREF_TILT_SENSITIVITY" 
		android:title="Sensitivity"
		android:summary="Set tilt sensor sensitivity"
		android:defaultValue="6" android:dependency="PREF_TILT_SENSOR"/>	
	
	<ListPreference
		android:entries="@array/pref_tilt_neutralz_options"
		android:title='Neutral vertical position'			
		android:key="PREF_TILT_NEUTRAL"
		android:entryValues="@array/pref_tilt_neutralz_values"
		android:defaultValue="5" android:dependency="PREF_TILT_SENSOR" />		
	
	<CheckBoxPreference android:key="PREF_TILT_ANALOG"
		android:title="Tilt as analog" android:summary="Enable to use tilt sensor as analog device, disable to use as digital"
		android:defaultValue="true"  android:dependency="PREF_TILT_SENSOR"/>		
		
	<CheckBoxPreference android:key="PREF_TILT_TOUCH"
		android:title="Touch anywhere" android:summary="Enable to tap anywhere on screen to fire. First finger is main fire. Second finger when first finger is pressed is alternate fire"
		android:defaultValue="false"  android:dependency="PREF_TILT_SENSOR"/>	

	<CheckBoxPreference android:key="PREF_TILT_INVERT_X"
		android:title="Invert X axe" android:summary="Enable to invert X axe."
		android:defaultValue="false"  android:dependency="PREF_TILT_SENSOR"/>			
				
	<CheckBoxPreference android:key="PREF_TILT_SWAP_YZ"
		android:title="Swap Z,Y axes" android:summary="Enable to swap Z,Y axes. This fixes vertical tilt on some devices"
		android:defaultValue="false"  android:dependency="PREF_TILT_SENSOR"/>

Add screenshots

Arcade game The Block Kuzushi (Japan) tblkkuzu Year: 2000 Manufacturers: Tamsoft / D3 Publisher Driver:zn Category: Breakout Block-Kuzushi-2

Screenshot_20220912-145528_Trebuchet

this is a homebrew game move the ball to the goal image72

another game 2048

soundsnow avatar Sep 13 '22 02:09 soundsnow