Touch not working
I'm using a Retroid Pocket 2+ and touch controls don't work ingame. After I exit a game, it also disables touch in the menus until I restart the app. I've tried newer versions and those fix the menu not working after exiting a game, but touch controls still don't work ingame. I'm using android 9.
https://github.com/ruffle-rs/ruffle-android/releases/tag/20240408 Give this version a try. If it still doesn't work, it's best to provide the game's SWF file
https://github.com/ruffle-rs/ruffle-android/releases/tag/20240408 Give this version a try. If it still doesn't work, it's best to provide the game's SWF file
Where should I send you a swf? I have a game that exhibits this same issue, for both current release and the alternate one you provided in your original reply.
https://github.com/ruffle-rs/ruffle-android/releases/tag/20240408 Give this version a try. If it still doesn't work, it's best to provide the game's SWF file
Where should I send you a swf? I have a game that exhibits this same issue, for both current release and the alternate one you provided in your original reply.
Please use the "Link" or "Attach Files" button on this reply function to provide a file.
https://github.com/ruffle-rs/ruffle-android/releases/tag/20240408 Give this version a try. If it still doesn't work, it's best to provide the game's SWF file
Where should I send you a swf? I have a game that exhibits this same issue, for both current release and the alternate one you provided in your original reply.
Please use the "Link" or "Attach Files" button on this reply function to provide a file.
When I try to Github won't lead me upload a swf file. I get the following:
Here is a .zip with the swf, but a bit of warning, the following game is definitely an 18+ game, but you won't be able to even see anything NSFW as touch isn't working haha. If this goes against TOS let me know and I will delete it, but regardless of the nature of the game, I hope it will provide valuable feedback into why touch is not working.
İ can confirm.The touch screen doesn't work with this game in the latest nighty version of ruffle.
I found that this is related to the parsing error of "AVM2" in the "Ruffle" main project, but I am not very good at this AVM2 module. Sorry, this may need to be fixed in the main project in the future. T.T
I think the bug related to default_motion_filter in https://github.com/rust-mobile/android-activity
https://github.com/rust-mobile/android-activity/blob/0d299300f4120821ae1fcaaf0276129c512c2c96/android-activity/game-activity-csrc/game-activity/native_app_glue/android_native_app_glue.c#L265-L268
Touchscreens on some devices might not be recognized as SOURCE_TOUCHSCREEN. In my app of Ruffle on Android, I remove default_motion_filter and it works on Retroid Pocket 2+: https://play.google.com/store/apps/details?id=games.flashlite