00:00
00:00
Newgrounds Background Image Theme

BlakeNator72 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!

6,070 Views | 185 Replies
Respond to this Topic

Response to Controller Mapping for Flash Games! 2025-05-14 00:44:40


Hmm, I added a controller profile for my game CLONESPACE and tested with 2 official Microsoft controllers; a wired 360 pad and a wireless XBOX one pad. I tried it in Brave and Edge browsers and I couldn't get any configuration working at all. Not sure what's going on here; also tried refreshing the page, clearing the cache etc.


Nearly all my stuff! MadeByChaz.com

Response to Controller Mapping for Flash Games! 2025-05-14 01:29:03


At 5/14/25 12:44 AM, Chaz wrote:Hmm, I added a controller profile for my game CLONESPACE and […] I couldn't get any configuration working at all.


It worked for me (Xbox One), although you won't be able to fully map the game to a controller anyway, since it uses mouse controls to aim and shoot, and remapping mouse input is currently unsupported.


Response to Controller Mapping for Flash Games! 2025-05-14 02:04:33


Very cool!


Been a long time since I played any game with a controller, and never on PC... might have to try some with this.


BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-14 02:04:58


It is awesome that you guys are still making so many new features for flash content on the site!


It is also great that we are getting more supporter features to help get support for NG.


As long as we have NG, flash will never die!


[New Servers on the Way!] [Twitter] [My Site] [My NGLog]

Click on the image!

Sig by bangyouredead

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-14 06:24:41


At 5/14/25 12:44 AM, Chaz wrote:Hmm, I added a controller profile for my game CLONESPACE and tested with 2 official Microsoft controllers; a wired 360 pad and a wireless XBOX one pad. I tried it in Brave and Edge browsers and I couldn't get any configuration working at all. Not sure what's going on here; also tried refreshing the page, clearing the cache etc.


Had you use the mapping link on the project details page, or had you used the one on the view page? I'm not seeing controls mapped there at the moment but I can only see the global mapping at the moment and not any personal mapping you set up.


Also you use the mouse to aim and shoot in Clonespace so controller support won't work there, unless there are keyboard alternatives to the mouse controls. Does it seem to not be applying any keyboard mapping at all though? Have you been mapping other games that worked fine?


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-14 06:25:56


At 5/13/25 11:05 PM, ErasmusMagnus wrote:
I love navigating mouse-only menus with gamepads. Welcome to the future!
https://www.newgrounds.com/portal/view/202283


Mapped!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-14 06:29:58


At 5/13/25 07:29 PM, BobbyBurt wrote:Ohh this potentially opens the door to playing flash games on mobile with my backbone gamepad! I’ll see if it works


Gamepads on mobile will work but we still need to add an override for game pages that won't play on mobile - we have a "this game is not compatible device" message that we want to let people skip over.


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-14 06:35:48


At 5/13/25 05:27 PM, Ralix wrote:
At 5/13/25 03:59 PM, TomFulp wrote:This is the first report I've seen of that not working... Was the game already running when you got started with the keys? If a game is running when you add your initial keys, you'll need to refresh the page. If you had set up gamepad support previously but then edit keys while the game is running, it updates real-time. It's the games that launch without any key data at all that need the refresh for changes to kick in.


I ticketed this bug and mapped these games!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-14 06:42:58


It's so cool !


ZombieGhost

Response to Controller Mapping for Flash Games! 2025-05-14 10:03:18


Since fancy pants world 2 and 3 aren't mentioned thought I'd suggest bindings

World 2:

D-Pad and Left Stick - Arrow Keys - Movement

A Button - S Key - Jump

Optionally B could also be mapped to the Up Arrow Key like the console games


For world 3 the bindings would be the same but with the X Button binded to the A Key for the Pencil Sword you unlock in the game

Response to Controller Mapping for Flash Games! 2025-05-14 11:03:58


At 5/14/25 10:03 AM, P-Medeiros wrote:Since fancy pants world 2 and 3 aren't mentioned thought I'd suggest bindings
World 2:
D-Pad and Left Stick - Arrow Keys - Movement
A Button - S Key - Jump
Optionally B could also be mapped to the Up Arrow Key like the console games

For world 3 the bindings would be the same but with the X Button binded to the A Key for the Pencil Sword you unlock in the game


I added the B button support and the pencil sword now. The series should otherwise be mapped so let me know if any aren't working - I had used a template for some and there's always a chance something was broken there.


Working on Nightmare Cops!

BBS Signature

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


works great



iu_1398111_8307814.png



iu_1398112_8307814.webp


BBS Signature

and


[thumb]


iu_1398149_8307814.webp


BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-14 18:02:34


So, I have an old Xbox 360 controller with a USB cord, but it can be wireless. I probably still need to download a plugin or something if I plug it into a MacBook, right?

Response to Controller Mapping for Flash Games! 2025-05-14 18:06:13


At 5/14/25 06:02 PM, KyleRoberts wrote:So, I have an old Xbox 360 controller with a USB cord, but it can be wireless. I probably still need to download a plugin or something if I plug it into a MacBook, right?


I think the older Xbox controllers were wireless for Xbox but it wasn't actually Bluetooth, so not sure what is involved with getting it to work on a Mac, if it can just plug in and work or not.


Working on Nightmare Cops!

BBS Signature

At 5/14/25 06:29 AM, TomFulp wrote:
At 5/13/25 07:29 PM, BobbyBurt wrote:Ohh this potentially opens the door to playing flash games on mobile with my backbone gamepad! I’ll see if it works

Gamepads on mobile will work but we still need to add an override for game pages that won't play on mobile - we have a "this game is not compatible device" message that we want to let people skip over.


This could go for any gamepad-compatible game, Flash or not - the message could change to read “You can play this on your device with a gamepad connected!” And then if the gamepad is connected when the page loads, you’re good to go and the game can be launched.


(GIF by @MKMaffo)

BBS Signature

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


Now with gamepad support:



Working on Nightmare Cops!

BBS Signature

Undead End is still really cool, now with gamepad support:



Working on Nightmare Cops!

BBS Signature

Some Mario-themed Flash games!


EDIT: Oops, there are other game modes in this that use the Spacebar to shoot. Maybe that can be the B button?

iu_1398652_5431202.jpg


iu_1398653_5431202.png


(GIF by @MKMaffo)

BBS Signature

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


At 5/15/25 05:21 PM, Dungeonation wrote:Some Mario-themed Flash games!


Another addendum: Start button could pause Tuper Tario Tros. with the P key


(GIF by @MKMaffo)

BBS Signature

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


At 5/15/25 06:01 PM, Dungeonation wrote:
At 5/15/25 05:21 PM, Dungeonation wrote:Some Mario-themed Flash games!

Another addendum: Start button could pause Tuper Tario Tros. with the P key


These are both all set!


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-16 02:40:01


How could I miss that?!

No wonder I was able to play it with my Bluetooth controller.

Thanks a bunch, no, a LOT, for making this happen!


I LIIIIIIIIIIVVVVVEEEEE!!!!!!!!!

Response to Controller Mapping for Flash Games! 2025-05-16 04:58:46


Finally. We got it. Now we can play those games with controller.

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


Can you use Nintendo Switch Online controllers (NES, SNES, Genesis, N64, & GameCube) to play these controller supported flash games?

Response to Controller Mapping for Flash Games! 2025-05-16 17:50:21


At 5/16/25 04:57 PM, SuperMcGuffin64 wrote:Can you use Nintendo Switch Online controllers (NES, SNES, Genesis, N64, & GameCube) to play these controller supported flash games?


If they work on your PC they should work here, if anyone tries, report back!


Working on Nightmare Cops!

BBS Signature

This one was a pretty tricky keybind...


iu_1399205_5431202.png


This keybind you'll only need once!


iu_1399206_5431202.png


Is both players being able to pause and quit a good idea? Open to feedback on that LOL


iu_1399207_5431202.png


Last one!

iu_1399210_5431202.webp


Unrelated but the score submitting link in the game looks very much not in operation anymore:

iu_1399211_5431202.png


Also, The Meat Boy Map Pack doesn't have any keybinds but Meat Boy does:


I assume the keybinds would be the same!


(GIF by @MKMaffo)

BBS Signature

At 5/13/25 10:59 AM, TomFulp wrote:
At 5/13/25 06:10 AM, Guidodinho wrote:I also need this in my life on a controller:
https://www.newgrounds.com/portal/view/151706

Its my Favorite Classic Sonic Platformer of all time.

Done!


Hell yeah my dude! It works like a charm!

https://imgur.com/HyFggrt

(I'll just link to a gif now, in case it wont play in here).


I tried it out. Put a USB-C adapter in my phone, a PS5 controller into that.


And super funny thing about the mouse support here. Android seems to natively use that trackpad on the PS5 controller as a mouse cursor. And I can fully navigate my phone with it, like I would with my finger. But I can click on anything I want with it, EXCEPT for anything going on, inside the Ruffle screen, for some bizare reason.

What also would be a cool work-around for that, is if there would be an extra button mapped, that just functions at that mouse-click, where the cursor is currently at.


(I also had to set the browser on my phone to desktop-mode, btw, to bypass the device incompatibility error message, but that was no problem for me)


(And going full -screen kinda gets me that semi-unused space at the edges of the screen, might wanna get a kinda black border layed over that area for when you right-click to hit full-screen, or some neat border art! ';D)

Response to Controller Mapping for Flash Games! 2025-05-17 07:13:21


At 5/17/25 06:01 AM, Guidodinho wrote:And super funny thing about the mouse support here. Android seems to natively use that trackpad on the PS5 controller as a mouse cursor. And I can fully navigate my phone with it, like I would with my finger. But I can click on anything I want with it, EXCEPT for anything going on, inside the Ruffle screen, for some bizare reason.
What also would be a cool work-around for that, is if there would be an extra button mapped, that just functions at that mouse-click, where the cursor is currently at.


I'm not sure what our capabilities are regarding mapping controllers to mouse clicks but will see.


(I also had to set the browser on my phone to desktop-mode, btw, to bypass the device incompatibility error message, but that was no problem for me)


Josh has made an update to bypass the blocker, it might be launching today!


(And going full -screen kinda gets me that semi-unused space at the edges of the screen, might wanna get a kinda black border layed over that area for when you right-click to hit full-screen, or some neat border art! ';D)


We were tinkering with our Ruffle parameters to add black bars but it doesn't appear to be a working feature in Ruffle at the moment, hoping with a future update we will be able to do that.


Working on Nightmare Cops!

BBS Signature

Response to Controller Mapping for Flash Games! 2025-05-17 07:22:49


At 5/16/25 11:54 PM, Dungeonation wrote:https://www.newgrounds.com/portal/view/495903
This one was a pretty tricky keybind...


These should be all set!


Working on Nightmare Cops!

BBS Signature

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


At 5/16/25 04:58 AM, ShadenPork wrote:Finally. We got it. Now we can play those games with controller.


You do realize, you just wrote the same thing that I did in page 1.


Just a simple signature text, this signature not contains animated picture. I don't have a money to buy NG Supporter.

PLJerry - Animator/Artist/Voice Actor/TF2 Veteran

Main Voice of Serj in NuMates Series.