Skip to content

Latest commit

 

History

History

multiple_joysticks_mobile

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Bevy Virtual Joystick Mobile

This show how works on android

Screenshot Video
Screenshot_2023-04-16-04-06-56-411_com sergioribera multiple_joysticks Preview

Features

  • Multiple joysticks
  • Fixed Joystick
  • Orientation based on sensor

NOTE: The color in area is only for make it visible

Run example

cargo apk run

Or use this proyect for compile gradle proyect

NOTE: This is the best option to have full control over the android part of the game, and it is also very useful because of the easy integration by making pipelines in github action

# on root of proyect
docker run --rm -it -v "$(pwd)/:/src" -w /src/examples/multiple_joysticks_mobile/android sergioribera/rust-android:170-sdk-33 assembleDebug
# make own
sudo chown -R $USER examples/multiple_joysticks_mobile/android/build/
# and install
adb install examples/multiple_joysticks_mobile/android/build/outputs/apk/debug/android-debug.apk