Discuss Scratch
- Epic_Studios
- Scratcher
4 posts
Controller Imputs
Right now, I am making a sprite plugin for controller inputs.
This means that you can use Gamecube, PS2, PS3, Xbox 360, and Xbox controllers to play games on scratch.
This means players will get to use triggers (LEFT AND RIGHT) ABYX Buttons (Gamecube, Xbox 360, Xbox) and shape buttons (PS2, PS3)
How to connect controllers to computer:
Gamecube Controller:
Step 1: Connect Gamecube controller to the Gamecube USB Adapter
Step 2: Plug the usb adapter into the usb slot in the computer
Step 3: Wait for the GC light of the upper left of the project screen say GC: ON
Step 4: !Start Playing!
PS2 Controller:
Step 1: Plug PS2 controller into the usb slot of your computer
Step 2: Wait for the PS2 image to say PS2: ON
Step 3: !Start Playing!
Other Steps for controllers coming soon!
NOTE: Some projects on scratch might crash with the controllers (Mostly Xbox controller)
for that, the sprite will keep the graphic effects clear.
This means that you can use Gamecube, PS2, PS3, Xbox 360, and Xbox controllers to play games on scratch.
This means players will get to use triggers (LEFT AND RIGHT) ABYX Buttons (Gamecube, Xbox 360, Xbox) and shape buttons (PS2, PS3)
How to connect controllers to computer:
Gamecube Controller:
Step 1: Connect Gamecube controller to the Gamecube USB Adapter
Step 2: Plug the usb adapter into the usb slot in the computer
Step 3: Wait for the GC light of the upper left of the project screen say GC: ON
Step 4: !Start Playing!
PS2 Controller:
Step 1: Plug PS2 controller into the usb slot of your computer
Step 2: Wait for the PS2 image to say PS2: ON
Step 3: !Start Playing!
Other Steps for controllers coming soon!
NOTE: Some projects on scratch might crash with the controllers (Mostly Xbox controller)
for that, the sprite will keep the graphic effects clear.
Last edited by Epic_Studios (Jan. 9, 2016 19:00:46)
- ImagineIt
- Scratcher
1000+ posts
Controller Imputs
Why not use the latest controllers instead, or also?
Otherwise, this is a cool idea.
Otherwise, this is a cool idea.
- Epic_Studios
- Scratcher
4 posts
Controller Imputs
For the latest 8th generation inputs, we will work hard and try to make use of the wii u gamepad controller, xbox one controller, and ps4 controller!
- whizzer
- Scratcher
500+ posts
Controller Imputs
Yay! Other people want Wii U Pro Controller support so I don't need to ask for it! This is why I love the Scratch community.
EDIT: There should be Steam controller support when it comes out - although, judging by the original post, it seems like it's buttons only for now.
EDIT: There should be Steam controller support when it comes out - although, judging by the original post, it seems like it's buttons only for now.
Last edited by whizzer (April 19, 2014 08:40:46)
- CodyTechery
- Scratcher
100+ posts
Controller Imputs
The Wii U GamePad would be relatively useless for use with a computer; there's no way to pair it with the computer, and even if there was, the touchscreen would be unusable.
- Vel0ceD3v
- Scratcher
11 posts
Controller Imputs
I think you could integrate a program called “BetterDS3” into Scratch, that way, it could also detect DS3s. Or we could use the DS3 to act like a keyboard, and assign special characters to those, like, [ for Square, { for Circle, etc. Then we only need Scratch to recognize those characters as DS3 inputs…
- Epic_Studios
- Scratcher
4 posts
Controller Imputs
There is a way you can hook up a wii u pro controller and a wii mote. Just download wjoy
- StriderTheDog
- Scratcher
7 posts
Controller Imputs
what is wjoy? There is a way you can hook up a wii u pro controller and a wii mote. Just download wjoy
- Orange_Scratch_Cat
- Scratcher
100+ posts
Controller Imputs
There should be a ps3 input block(s) like this:
<[left v] stick facing [up v]?>
<[X v] button pressed?>
- minenice55
- Scratcher
67 posts
Controller Imputs
You can also connect a WII U Gamepad with “U send Mii”.
- Dangerousadventurous
- Scratcher
14 posts
Controller Imputs
how can you connect a xbox 360 controller to scratch?
- Ninjatintin
- Scratcher
39 posts
Controller Imputs
when [a v] button pressed :: #32DA35 :: hat
when [up v] of [left v] joystick pulled :: #32DA35 :: hat
- Lucas_Souza
- Scratcher
4 posts
Controller Imputs
when green flag clicked
if (left d-pad pressed) then
move left
end
when green flag clicked
if (right d-pad pressed) then
move right
end
when green flag clicked
if (a button pressed) then
jump
end
when green flag clicked
if ((b button pressed)and(powerup 2 on)) then
do (powerup 2)
end
This is my first test of these controller inputs for Scratch!
If you use PlayStation controllers, here's 2 other commands for the shape buttons below!
when green flag clicked
if (X button pressed) then
jump
end
when green flag clicked
if ((circle button pressed)and(powerup 2 on)) then
do (powerup 2)
end
If you see any errors in these commands, another test will be made…
Last edited by Lucas_Souza (Feb. 4, 2018 14:02:38)
- CatIsFluffy
- Scratcher
100+ posts
Controller Imputs
For PS controllers, you should map the shape buttons to letter buttons, like X->A, O->B, Square->X, and Triangle->Y (using the Xbox button names)
- jmonster5
- Scratcher
50 posts
Controller Imputs
This is great! I have a post about some of the issues and possible solutions with implementing controller support here: Right now, I am making a sprite plugin for controller inputs.https://scratch.mit.edu/discuss/post/3075414/
This means that you can use Gamecube, PS2, PS3, Xbox 360, and Xbox controllers to play games on scratch.
This means players will get to use triggers (LEFT AND RIGHT) ABYX Buttons (Gamecube, Xbox 360, Xbox) and shape buttons (PS2, PS3)
How to connect controllers to computer:
Gamecube Controller:
Step 1: Connect Gamecube controller to the Gamecube USB Adapter
Step 2: Plug the usb adapter into the usb slot in the computer
Step 3: Wait for the GC light of the upper left of the project screen say GC: ON
Step 4: !Start Playing!
PS2 Controller:
Step 1: Plug PS2 controller into the usb slot of your computer
Step 2: Wait for the PS2 image to say PS2: ON
Step 3: !Start Playing!
Other Steps for controllers coming soon!
NOTE: Some projects on scratch might crash with the controllers (Mostly Xbox controller)
for that, the sprite will keep the graphic effects clear.
when green flag clicked
View All Scratch Projects
Link:[http://scratch.mit.edu/explore/projects/all/]
- jmonster5
- Scratcher
50 posts
Controller Imputs
I believe it would be a better idea to make a universal driver for controllers instead of making individual ones. Also, do you yet understand JS and the HTML5 Gamepad API? Because you will need to know that to code a plugin for Scratch 3. Right now, I am making a sprite plugin for controller inputs.
This means that you can use Gamecube, PS2, PS3, Xbox 360, and Xbox controllers to play games on scratch.
This means players will get to use triggers (LEFT AND RIGHT) ABYX Buttons (Gamecube, Xbox 360, Xbox) and shape buttons (PS2, PS3)
How to connect controllers to computer:
Gamecube Controller:
Step 1: Connect Gamecube controller to the Gamecube USB Adapter
Step 2: Plug the usb adapter into the usb slot in the computer
Step 3: Wait for the GC light of the upper left of the project screen say GC: ON
Step 4: !Start Playing!
PS2 Controller:
Step 1: Plug PS2 controller into the usb slot of your computer
Step 2: Wait for the PS2 image to say PS2: ON
Step 3: !Start Playing!
Other Steps for controllers coming soon!
NOTE: Some projects on scratch might crash with the controllers (Mostly Xbox controller)
for that, the sprite will keep the graphic effects clear.
when green flag clicked
View All Scratch Projects
Link:[http://scratch.mit.edu/explore/projects/all/]
- Meowswish55
- Scratcher
100+ posts
Controller Imputs
This is an amazing idea and I would like to use it in one of my projects to eventually port my game onto xbox using PhosphorusWrapper. How is it going?
- 1318GoldLlama
- New to Scratch
4 posts
Controller Imputs
scratch should add a “console extension” that had blocks like
<button [x ] pressed?>