Discuss Scratch

leapinleopardstar
Scratcher
500+ posts

What about gaming controllers?

Holy crabs, I forgot this even existed :O

A
ArnieE07
Scratcher
66 posts

What about gaming controllers?

country_kid wrote:

peabrain20 wrote:

peabrain20 wrote:

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
Sure If it was usb.
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
Scratcher
27 posts

What about gaming controllers?

WiiMote Buttons:
<[1 v] button pressed?>
<[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?>
WiiMote Detection:
<[Shaked v]?>
<[Turned left v]?>
<[Turned right v]?>
<[Collision detected v]?>

Last edited by peabrain20 (April 5, 2020 00:25:41)

peabrain20
Scratcher
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
Scratcher
27 posts

What about gaming controllers?

<[ScratchX v] contains [GamePad] ?>

Last edited by peabrain20 (April 5, 2020 21:44:39)

peabrain20
Scratcher
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
Scratcher
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
Scratcher
100+ posts

What about gaming controllers?

epiccool5 wrote:

Your right, Scratch 3.0 should connect with a ps4 remote.
<button [O] pressed?>

<Dualshock 4 connected?>

What about PS3?

This account is now unused. Please see @BlooXen and @GlowingK.
hvalcarcel_smartcamp
Scratcher
13 posts

What about gaming controllers?

leapinleopardstar wrote:

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)
You can kinda already do that. You just need a joystick mapper

░░░░░░░░░░░░ ██░░░░░░░░░░░░░
░░░░░░░░░░░█░░█░░░░░░░░░░░░░
░░░░░░░░░░█░░░█░░░░░░░░░░░░░
░░░░░░░░░█░░░░█░░░░░░░░░░░░░
██████▄▄█░░░░░██████▄░░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓█░░░░░░░░░░░░░░█░░░░░░
▓▓▓▓▓▓████████████████░░░░░░
dogeslover
Scratcher
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
Scratcher
500+ posts

What about gaming controllers?

Gaming controllers is a good idea but what if you don’t have one?
ninjaMAR
Scratcher
1000+ posts

What about gaming controllers?

bump
Support I have a gaming console and i would like to use it with the computer
rpgkid
Scratcher
9 posts

What about gaming controllers?

TheLegendaryPro wrote:

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
Scratcher
500+ posts

What about gaming controllers?

This discussion has been moved to here: https://scratch.mit.edu/discuss/topic/411455/

A

Powered by DjangoBB