00:00
00:00
Newgrounds Background Image Theme

JoyfulGoblin just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Controller Mapping for Flash Games!

7,021 Views | 185 Replies
Respond to this Topic

At 5/12/25 01:36 PM, Dungeonation wrote:Fun Home from Flash Forward this year had a controller control scheme in mind I think! If there’s controller support already I apologize, I can’t check yet lol
https://www.newgrounds.com/portal/view/977227

WASD would be left stick or D-Pad
Down arrow would be A, Right arrow would be B, Up arrow would be Y, and Left arrow would be X!
Not sure what the retro toggle (P key) would be


Fun Home is uploaded as a ZIP with its own Ruffle build due to how it integrated our modern API, that might eventually change though!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 15:01:18


At 5/12/25 01:59 PM, Figburn wrote:i think a closer mapping to official KOF on gamepad would be
A: Weak Kick ( I key)
B: Heavy Kick ( K key
X: Weak Punch ( U key )
Y: Heavy Punch ( J key )
R Bumper: Special 1 ( O key )
R Trigger: Special 2 ( L key )
also, if its possible to double map, having D pad also control the character as well as the stick would be cool!


Updated, including the double mapping. Give it a try!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 15:03:37


This one should be simple to do. The arrow keys will naturally work with the D-pad, while S and D are best emulated on the down and left face buttons.

Response to Controller Mapping for Flash Games! 2025-05-12 15:11:14


At 5/12/25 03:03 PM, Belyaevs-Fox wrote:https://www.newgrounds.com/portal/view/640756
This one should be simple to do. The arrow keys will naturally work with the D-pad, while S and D are best emulated on the down and left face buttons.


Give it a try now!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 15:12:22


I thought you'd have had a hard time following up on Takeover Tuesday. I was wrong.

My only complaint is limiting custom binds to Supporters - that's getting a bit too EA-y for my tastes.

Still, this was a pretty major improvement overall, making NG's Flash catalogue a lot more accessible in general.


(I think you should probably start a thread in the Clubs and Crews forum to handle controller mappings - this is gonna be a pretty major undertaking...)


he/they - pretty cool guy - yt channel here - Flash Controller Mapping Crew

Response to Controller Mapping for Flash Games! 2025-05-12 15:14:15


Anyways, getting an easy controller mapping out the way whilst this thread's still hot:

This is a one-button game, and the Xbox Controller has a dedicated X button, so just mapping X on controller to X in game should work.


he/they - pretty cool guy - yt channel here - Flash Controller Mapping Crew

Response to Controller Mapping for Flash Games! 2025-05-12 15:17:41


At 5/12/25 03:14 PM, BlueMonday1984 wrote:Anyways, getting an easy controller mapping out the way whilst this thread's still hot:
https://www.newgrounds.com/portal/view/510303
This is a one-button game, and the Xbox Controller has a dedicated X button, so just mapping X on controller to X in game should work.


Canabalt was actually updated to HTML5 and while the Flash version still exists, I don't think we have a link to switch to that version. I added gamepad support in case we ever do though!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 15:18:45


At 5/12/25 02:46 PM, orbitz wrote:here's one:

https://www.newgrounds.com/portal/view/544984


Added!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 15:19:11


Now... this is too much fun. I'm making a mad science experiment navigate mouse menus in Flash with a controller by binding Tab to the Select button, then using the D-pad bound to the arrow keys to select different clickable buttons. Now I just need to find an equivalent key to click with!

Response to Controller Mapping for Flash Games! 2025-05-12 15:19:44


This is so freaking cool! Excited to go through and update some maps

Response to Controller Mapping for Flash Games! 2025-05-12 15:20:53


At 5/12/25 02:44 PM, SkilledFella wrote:Wait, does PlayStation 5 DualSense controller also support these games?


It should work, let us know if you try and it doesn't.


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 15:23:50


At 5/12/25 03:01 PM, TomFulp wrote:
At 5/12/25 01:59 PM, Figburn wrote:i think a closer mapping to official KOF on gamepad would be
A: Weak Kick ( I key)
B: Heavy Kick ( K key
X: Weak Punch ( U key )
Y: Heavy Punch ( J key )
R Bumper: Special 1 ( O key )
R Trigger: Special 2 ( L key )
also, if its possible to double map, having D pad also control the character as well as the stick would be cool!

Updated, including the double mapping. Give it a try!


works perfectly!

Response to Controller Mapping for Flash Games! 2025-05-12 15:30:04


extremely based


O prudente varão há de ser mudo,

Que é melhor neste mundo, mar de enganos,

Ser louco c’os demais, que só, sisudo

Response to Controller Mapping for Flash Games! 2025-05-12 15:41:29


Sweet! I'll have to try this out sometime.


Just call me Blake :)

Formerly "BlakeyTakeyTheCakey" 2022-2024

active on newgrounds' steam chat

╔══════════════════════╗

Website Steam BlueSky

╚══════════════════════╝

Response to Controller Mapping for Flash Games! 2025-05-12 15:41:34


Wow! The new controller mapping feature looks so super exciting and very interesting! I definitely would love to try out this new feature!


BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 15:49:49


Wow that’s amazing! Ruffle just keeps getting better!


Currently working on a cartoon this summer. Stay tuned I guess. Heh.

-------------------------------------------------------------------------------------------------------------------------------------------------------------

“This Website is my everything but I still go outside lol” - A Wise Man


If you don’t drink ocean water, you have nothing.

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Bluesky - YouTube - Website (work in progress) - Art Thread - Animation Thread

BBS Signature

At 5/12/25 12:59 PM, TomFulp wrote:
At 5/12/25 12:55 PM, Dungeonation wrote:Does this mean it could be possible to get touch controls on mobile, say if you held your phone normally and it had a virtual gamepad below it?

😉


Pretty please figure out multi-touch and touchscreen gesture support for AS2 so I don't have to program it myself. Please oh please, I will be eternally grateful.


[1] - [2]

Response to Controller Mapping for Flash Games! 2025-05-12 16:05:49


Getting another easy pair of games out the way:

The zoom in both games can be controlled with the left and right arrow keys, which map perfectly to left and right on the D-pad.


he/they - pretty cool guy - yt channel here - Flash Controller Mapping Crew


This is a great update! I'm gonna be cheeky and suggest a game I worked on, Sky Panda!

(because I don't have the log-in (my brother mans the account atm, not been active in a bit) )



Left Stick - Arrow Keys/WSAD

A Button - Z/X/Space

Menu Button - Esc/P


The menu's should already be very controller-friendly, we made them work really well with mouse and button inputs. It's an AS3, which I know is slightly less-supported currently, but the game seems to run great via Ruffle on my end!

Response to Controller Mapping for Flash Games! 2025-05-12 16:18:17


I made and tested these mappings myself through DS4Windows, so you'll know they work well.


Arrow keys = D-pad, space = Cross, Enter = Options, Esc = Share

Note: Mouse will be required for the start menu.


Arrow Keys = D-pad, Space = Cross, Z = Square, Enter = Triangle, 1 & 2 = L1 & R1 Respectively, P = Options


Arrow Keys = D-pad, Space = Cross, Esc = Options

Note: Mouse will be required for the start menu.

Response to Controller Mapping for Flash Games! 2025-05-12 16:21:26


The game Castle Crashing The Beard works perfectly! I also decide to test The Binding of Isaac to see if works and the game controllers works a little buggy, when I press the button "R2" (I'm using a PlayStation Controller) the game automatically stops. Also in the Binding of Isaac, the bombs drop automatically, even I didn't press nothing.


But, ignoring that issues, the controller works very well! Thanks for this blessing PsychoGoldfish and Tom, you guys are awesome!


At 5/12/25 04:21 PM, Carne-de-Ovelha wrote:The game Castle Crashing The Beard works perfectly! I also decide to test The Binding of Isaac to see if works and the game controllers works a little buggy, when I press the button "R2" (I'm using a PlayStation Controller) the game automatically stops. Also in the Binding of Isaac, the bombs drop automatically, even I didn't press nothing.


I'm getting the same issue with hitting R2, that appears to be a bug with spacebar that cropped up after some other changes. I haven't recreated the bombs dropping automatically, that's an interesting one - any chance you have a broken / over-sensitive trigger button? I've had that happen with my older PS controllers (used to auto drop bombs in Spelunky).


Update - R2 should now work, still dunno about the auto-bombs though. Anyone else auto-dropping bombs?


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 16:39:12


At 5/12/25 04:18 PM, Belyaevs-Fox wrote:I made and tested these mappings myself through DS4Windows, so you'll know they work well.


Unfortunately Ripple Dot Zero needs to load third party files to run, which hits a CORS issue in modern browsers and won't work with Ruffle without an update to the game itself. The other two games are now mapped and running through Ruffle!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 16:40:56


At 5/12/25 04:17 PM, ZekeWatson wrote:This is a great update! I'm gonna be cheeky and suggest a game I worked on, Sky Panda!
(because I don't have the log-in (my brother mans the account atm, not been active in a bit) )


It's mapped now, the menus work great!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 16:49:32


Remembered another one-button game that'd be an easy map - Matt Roszak's second game on NG, Brawl Royale:

All in-game functions (barring the menus, which are mouse-controlled) are controlled using the spacebar, so mapping A to the spacebar should be sufficient.

For the two-player mode, mapping A on P2's gamepad to Enter will cover that as well.


he/they - pretty cool guy - yt channel here - Flash Controller Mapping Crew

Response to Controller Mapping for Flash Games! 2025-05-12 16:51:54


At 5/12/25 04:49 PM, BlueMonday1984 wrote:Remembered another one-button game that'd be an easy map - Matt Roszak's second game on NG, Brawl Royale:
https://www.newgrounds.com/portal/view/458245
All in-game functions (barring the menus, which are mouse-controlled) are controlled using the spacebar, so mapping A to the spacebar should be sufficient.
For the two-player mode, mapping A on P2's gamepad to Enter will cover that as well.


Should be all set!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 16:57:59


I wasn't expecting this feature to ever happen, but hey this will add some new ways to play those games. It's gonna feel weird playing flash games on gamepad controls, but I can welcome this!

(The only flash games with gamepad controls I can think of is The Fancy Pants Adventures World 4 Part 1 and 2)


Anyway Mario Combat. I was thinking about this game when this announcement happened.


Left Key - Left Stick

Right Key - Right Stick

Up Key - Cross/A Button

A - Square/X Button

Space - Triangle/Y Button


Left Key - Left D-Pad

Right Key - Right D-Pad

(those again but just some additions)

Response to Controller Mapping for Flash Games! 2025-05-12 17:03:41


At 5/12/25 04:57 PM, Ferbun wrote:I wasn't expecting this feature to ever happen, but hey this will add some new ways to play those games. It's gonna feel weird playing flash games on gamepad controls, but I can welcome this!
(The only flash games with gamepad controls I can think of is The Fancy Pants Adventures World 4 Part 1 and 2)

Anyway Mario Combat. I was thinking about this game when this announcement happened.


That's done now and @D-Sun has a bunch more games that could use mapping. I just added it to AshBelt!



Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-12 17:12:24


Knocking out another easy map, for the entire Ball Revamped series:

Series-wide, movement is handled with the arrow keys, so those can be safely mapped to the D-pad or left stick.

Ball and Ball Revamped 1 map starting a level to the spacebar, and restarting to G - mapping space to A and G to B should be sufficient for both.

Ball Revamped 4 maps the pause function to P - I'd personally map that to the Menu button.

(Sidenote: BR4 freezes upon pausing in Ruffle - not sure if that's a Ruffle bug, or a game bug)


he/they - pretty cool guy - yt channel here - Flash Controller Mapping Crew

Response to Controller Mapping for Flash Games! 2025-05-12 17:16:24


I am in the middle of shifting from my 10-year-old laptop to a Steam Deck as my at-home computer, so this is amazing timing! You guys are awesome.


Failing over and over doesn't make you a failure. The only failures are the ones who don't try.