@PsychoGoldfish just rolled out an exciting new feature for Flash fanatics:
Controller Mapping!
Traditional Flash games never had gamepad support but now that games are running via Ruffle, we are able to interface with them directly using our own controller mapping.
We store mapping data for each game individually so there’s a long road ahead, however you can try these games with a gamepad to demo the feature:
Supporters have the ability to set up their own controller mapping on a per-game basis, in cases where we haven’t set a default or you want to change from the default. We made this a Supporter feature because it’s a niche feature and NG needs more Supporters, however if you have accessibility needs that require this feature, please message me about it.
If a Flash game already has controller mapping, you will see a note in the info box under the tags, with a link to view the existing mapping (or create your own if you’re a Supporter).
Flash devs can add mapping to their existing games, which would be a huge help! You’ll find the mapping option on your Project Details page, under your SWF file in the same area as the Ruffle Emulation toggle. If you want to really get wild, you could also make your title screens and menus controller friendly, since a lot of those will still depend on a mouse. If you do update your game with mapping, share a link in this thread!
To kick things off, anyone can help right in this thread! Reply with a link to a Flash game you like that doesn’t have controller mapping and include a list of how you would map the controls. We’ll use an Xbox controller as the template for button names.
For example, here’s how I would explain the Alien Hominid mapping:
Left Stick - Arrow Keys - Move
D-Pad - Arrow Keys - Move
X Button - A Key - Shoot
A Button - S Key - Jump
We’ll start mapping games based on your replies and once we create a new moderator type, we’ll invite some of you to come aboard as mapping mods! In the meantime, staff and existing Portal Mods have access to add mapping.
Note: If a game doesn’t have a “Ruffle” loader at the start, it is likely an HTML5 game and this feature does not apply.
If your favorite Flash game isn’t currently running via Ruffle, you can help test and report on it in the Ruffle Testing / Flash Preservation Crew.
Future splash: We're not done adding new ways to play Flash games!