Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » What about gaming controllers?
- leapinleopardstar
-
500+ posts
What about gaming controllers?
Holy crabs, I forgot this even existed :O
A
- ArnieE07
-
66 posts
What about gaming controllers?
Sure If it was usb.Or the NES controller:when green flag clicked
forever
if <D pad right> then
Move right (10)steps
end
if <D pad left> then
Move left (10)steps
end
if <D pad up> then
Move up (10)steps
end
if <D pad down> then
Move down (10)steps
end
if <A pressed> then
Jump
end
if <B pressed> then
Dash
end
if <Start pressed> then
Pause
end
if <Select pressed> then
Acess turbo mode
end
end
OG controllers don’t use usb
Maybe the Joy-Con SNES controllers
when green flag clicked
set [Thor] to [Final]
broadcast [Thanos]
when I receive [Thanos]
say [You Should of Gone for the Head]
set [ Snap] to [True]
broadcast [ Snap]
- peabrain20
-
27 posts
What about gaming controllers?
WiiMote Buttons:
<[1 v] button pressed?>WiiMote Detection:
<[2 v] button pressed?>
<[A v] button pressed?>
<[B v] button pressed?>
<[+ v] button pressed?>
<[- v] button pressed?>
<[home v] button pressed?>
<[left v] button pressed?>
<[right v] button pressed?>
<[up v] button pressed?>
<[down v] button pressed?>
<[Shaked v]?>
<[Turned left v]?>
<[Turned right v]?>
<[Collision detected v]?>
Last edited by peabrain20 (April 5, 2020 00:25:41)
- peabrain20
-
27 posts
What about gaming controllers?
<Gamepad Extension Installed?>
<button[X v]pressed?>
([direction v] of [left v]stick)
Last edited by peabrain20 (April 5, 2020 21:42:55)
- peabrain20
-
27 posts
What about gaming controllers?
<[ScratchX v] contains [GamePad] ?>
Last edited by peabrain20 (April 5, 2020 21:44:39)
- peabrain20
-
27 posts
What about gaming controllers?
if <[X v] button pressed>then
end
if <[Shaked v]>then
end
([direction v] of [left v] stick)
Last edited by peabrain20 (April 5, 2020 21:49:46)
- peabrain20
-
27 posts
What about gaming controllers?
when green flag clicked
forever
point in direction ([direction v] of [left v] stick)
move (10) steps
end
Last edited by peabrain20 (April 5, 2020 21:53:00)
- hocsten
-
100+ posts
What about gaming controllers?
What about PS3? Your right, Scratch 3.0 should connect with a ps4 remote.<button [O] pressed?><Dualshock 4 connected?>
This account is now unused. Please see @BlooXen and @GlowingK.
- hvalcarcel_smartcamp
-
13 posts
What about gaming controllers?
You can kinda already do that. You just need a joystick mapper I think that game controllers (like Xbox, Dual Shock, Wii U Pro, and Joy-Con) should be able to connect to Scratch in Scratch 3.1.
There could be blocks like:<button [left trigger v] pressed? :: extension>
<button [triangle v] pressed? :: extension>
<button [ZR v] pressed? :: extension>
(left stick direction :: extension)
(left stick strength :: extension)
(right stick direction :: extension)
(right stick strength :: extension)
░░░░░░░░░░░░ ██░░░░░░░░░░░░░
░░░░░░░░░░░█░░█░░░░░░░░░░░░░
░░░░░░░░░░█░░░█░░░░░░░░░░░░░
░░░░░░░░░█░░░░█░░░░░░░░░░░░░
██████▄▄█░░░░░██████▄░░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓████████████████░░░░░░
- dogeslover
-
45 posts
What about gaming controllers?
([(direction) v] of [Left Stick])
(current [Controller Connected v])
<(Stick) Down?>
<button (?) pressed?>
define When I get TikTok
if <[sleep] = [true]> then
Lose Sleep
else
Watch TikTok all night long
end
- superclass43
-
500+ posts
What about gaming controllers?
Gaming controllers is a good idea but what if you don’t have one?
- ninjaMAR
-
1000+ posts
What about gaming controllers?
bump
Support I have a gaming console and i would like to use it with the computer
Support I have a gaming console and i would like to use it with the computer
- rpgkid
-
9 posts
What about gaming controllers?
Anything with Bluetooth should work with Scratch if they allow this. Xbox One, PS4, Nintendo Switch all have Bluetooth and USB so I think its an awesome idea they should do this
I hope your right, because I want to send a Scratch game I made to my cousin's
Nintendo switch so they can play it
Last edited by rpgkid (June 2, 2020 21:27:41)
- leapinleopardstar
-
500+ posts
What about gaming controllers?
This discussion has been moved to here: https://scratch.mit.edu/discuss/topic/411455/
A
- Discussion Forums
- » Developing Scratch Extensions
-
» What about gaming controllers?