Discuss Scratch

dont_forget_flipnote
Scratcher
6 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?
I want to make a game that uses controller functions like a joystick and I don’t know if it is possible.
Mazdaa-Miaat
Scratcher
15 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

I don't think you can. The closest thing I think you can get to that is using a software like JoytoKey to emulate keyboard inputs with a controller.
dont_forget_flipnote
Scratcher
6 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

Last edited by dont_forget_flipnote (Jan. 29, 2025 21:33:45)

superbluigi
Scratcher
100+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

3rd turbowarp extension called “gamepad”, but you can't post turbo-extension projects on scratch, so you would have to find out how to post it on a different website or something.
dont_forget_flipnote
Scratcher
6 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

Thanks! I guess I could make a project on scratch and put the link in the description, I mean that would work.
BigNate469
Scratcher
1000+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

dont_forget_flipnote wrote:

Thanks! I guess I could make a project on scratch and put the link in the description, I mean that would work.
There isn't a good way to do that though, as any way to share TurboWarp projects is either not allowed to be mentioned or in beta.
dont_forget_flipnote
Scratcher
6 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

BigNate469 wrote:

dont_forget_flipnote wrote:

Thanks! I guess I could make a project on scratch and put the link in the description, I mean that would work.
There isn't a good way to do that though, as any way to share TurboWarp projects is either not allowed to be mentioned or in beta.

Well couldn’t I put the numbers for the project and just say to paste it in turbowarp? Or would that not be allowed.
BigNate469
Scratcher
1000+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

dont_forget_flipnote wrote:

BigNate469 wrote:

dont_forget_flipnote wrote:

Thanks! I guess I could make a project on scratch and put the link in the description, I mean that would work.
There isn't a good way to do that though, as any way to share TurboWarp projects is either not allowed to be mentioned or in beta.

Well couldn’t I put the numbers for the project and just say to paste it in turbowarp? Or would that not be allowed.
But the issue is that TurboWarp just loads projects from Scratch, and a project on Scratch can't contain blocks that are specific to TurboWarp.

So, turbowarp.org/104 leads you to the same project as scratch.mit.edu/projects/104
dont_forget_flipnote
Scratcher
6 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

BigNate469 wrote:

dont_forget_flipnote wrote:

BigNate469 wrote:

dont_forget_flipnote wrote:

Thanks! I guess I could make a project on scratch and put the link in the description, I mean that would work.
There isn't a good way to do that though, as any way to share TurboWarp projects is either not allowed to be mentioned or in beta.

Well couldn’t I put the numbers for the project and just say to paste it in turbowarp? Or would that not be allowed.
But the issue is that TurboWarp just loads projects from Scratch, and a project on Scratch can't contain blocks that are specific to TurboWarp.

So, turbowarp.org/104 leads you to the same project as scratch.mit.edu/projects/104
Oh I didn’t know that, I thought it would load from scratch but anything made specific on turbowarp would be saved on a file with its own special link like maybe turbowarp.org/custom/2203 or whatever number it is.
lemurcoffey
Scratcher
100+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

Good question.
AmpElectrecuted
Scratcher
1000+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

in turbowarp (or scratch if you have the extension), you can go to addons and enable gamepad support. from there, you can setup gamepad bindings and save them to your project. anyone with turbowarp/the extension can use the gamepad bindings.
if you're wondering what i mean by “the extension”, scratch unfortunately does not allow mentioning specific extensions. if you watch griffpatch's videos often though you'll know what i'm talking about
BigNate469
Scratcher
1000+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

dont_forget_flipnote wrote:

BigNate469 wrote:

snip
Oh I didn’t know that, I thought it would load from scratch but anything made specific on turbowarp would be saved on a file with its own special link like maybe turbowarp.org/custom/2203 or whatever number it is.
Yeah, there's no good way to do that either. TurboWarp doesn't save projects to its servers, unlike Scratch. In other words, the project is saved locally to your device, not in a way that can easily be accessed by anyone else.
lAZERbREAD
Scratcher
24 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

superbluigi wrote:

3rd turbowarp extension called “gamepad”, but you can't post turbo-extension projects on scratch, so you would have to find out how to post it on a different website or something.
I thought that scratch just reads it as a bunch of nonsense and doesn't execute it but I'm pretty sure that data is there so it works when you go to the turbowarp
BFDI1a-TakethePlunge
Scratcher
100+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

lAZERbREAD wrote:

superbluigi wrote:

3rd turbowarp extension called “gamepad”, but you can't post turbo-extension projects on scratch, so you would have to find out how to post it on a different website or something.
I thought that scratch just reads it as a bunch of nonsense and doesn't execute it but I'm pretty sure that data is there so it works when you go to the turbowarp
you might be thinking of the advanced settings? the way those work is that the data is saved as a comment in the stage; scratch just sees it as any other comment and ignores it, and turbowarp can interpret it as ‘this projects stage should be this big’ or whatever
for gamepad support you need blocks in the actual code, and those obviously cant be worked around like that

Last edited by BFDI1a-TakethePlunge (April 3, 2025 13:21:09)

ProgrammingPanther85
Scratcher
8 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

Hello read quote below,
2DS_XL-JAN-001
Scratcher
22 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

I think I once tried to connect a Wii Remote to something in TurboWarp and it didn't work
PCMicah
Scratcher
100+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

That is a fire idea
PCMicah
Scratcher
100+ posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

Some of my games are TV friendly
Milo-The-Fox
Scratcher
28 posts

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?

dont_forget_flipnote wrote:

Is there a way to program your game to work with (Nintendo, PlayStation, Xbox, etc) controllers?
I want to make a game that uses controller functions like a joystick and I don’t know if it is possible.


Yes, actually. There is a way to program your game (or whatever it is) to support a game controller (Xbox, Playstation, Nintendo, Luna, etc.)! However, it does require Turbowarp (A Scratch project upgrader or runner). You can find that here: https://turbowarp.org . Go into the editor, go to the Extensions button (bottom left in the editor) and search for Gamepad or Controller.

Powered by DjangoBB