Discuss Scratch

Fupicat
Scratcher
1000+ posts

Can I use a smartphone to control a project?

(This was originally posted in the Connecting to the Physical World forum, but that forum is quite unpopular, so I decided to post it here)
Hello, guys. I recently got an Android smartphone, and I wanted to test it out.
Is there any mod or app that allows me to use the phone's accelerometer, gyroscope, touchscreen and such to control a Scratch project? I also have an iPad if there is a way to do it on iOS.
Thank you for your help.
asivi
Scratcher
1000+ posts

Can I use a smartphone to control a project?

Not with Scratch itself(as far as i know). Perhaps with ScratchX you suceed, ask in Advanced Topics
Fupicat
Scratcher
1000+ posts

Can I use a smartphone to control a project?

asivi wrote:

Not with Scratch itself(as far as i know). Perhaps with ScratchX you suceed, ask in Advanced Topics
Well, I can't program, so I'm sure I won't succeed. I'm gonna move this to the advanced topics forums.
drawdea
Scratcher
61 posts

Can I use a smartphone to control a project?

You could use MIT App inventor to make apps in a scratch style(android only) but I don't think you can actually control scratch from your phone
Fupicat
Scratcher
1000+ posts

Can I use a smartphone to control a project?

drawdea wrote:

You could use MIT App inventor to make apps in a scratch style(android only) but I don't think you can actually control scratch from your phone
I already know about that. What I wanted to know is if there is any Scratch mod that allows you to use your phone to control a project.
-stache-
Scratcher
500+ posts

Can I use a smartphone to control a project?

Use VNC.
Fupicat
Scratcher
1000+ posts

Can I use a smartphone to control a project?

-stache- wrote:

Use VNC.
That's not what I mean.
Znapi
Scratcher
500+ posts

Can I use a smartphone to control a project?

If you only need touchscreen and only click/drag gestures, you can get away with normal scratch in phosphorus: https://phosphorus.github.io/#113321949/

Accelerometer and gyroscope and more gestures will require and extension in ScratchX (or a mod), which requires Flash. IIRC, flash doesn't work on any smartphone, unless you use something like the Puffin browser.
Fupicat
Scratcher
1000+ posts

Can I use a smartphone to control a project?

Znapi wrote:

If you only need touchscreen and only click/drag gestures, you can get away with normal scratch in phosphorus: https://phosphorus.github.io/#113321949/

Accelerometer and gyroscope and more gestures will require and extension in ScratchX (or a mod), which requires Flash. IIRC, flash doesn't work on any smartphone, unless you use something like the Puffin browser.
Actually I was thinking more of using the phone as a controller, where the project itself plays in the computer, and you use the gyroscope etc on the phone to control it.
Znapi
Scratcher
500+ posts

Can I use a smartphone to control a project?

Fupicat wrote:

Znapi wrote:

If you only need touchscreen and only click/drag gestures, you can get away with normal scratch in phosphorus: https://phosphorus.github.io/#113321949/

Accelerometer and gyroscope and more gestures will require and extension in ScratchX (or a mod), which requires Flash. IIRC, flash doesn't work on any smartphone, unless you use something like the Puffin browser.
Actually I was thinking more of using the phone as a controller, where the project itself plays in the computer, and you use the gyroscope etc on the phone to control it.
Oh. I don't know of any mods or extensions that can do that, unfortunately.
Jonathan50
Scratcher
1000+ posts

Can I use a smartphone to control a project?

Do you want to make a Scratch project that runs on your PC but is controlled by your phone, or a Scratch project that runs on your phone and is controlled by your phone?

The first one can be done using cloud variables and an external program. You could use scratchapi by Dylan5797 or scratch-api by @trumank (Yes they have very similar names) or just do it yourself. It could also be done with a ScratchX extension.

For the second one you could try packaging ScratchX or a Scratch 2.0 mod with Adobe AIR and run it on your phone…

Last edited by Jonathan50 (July 15, 2017 23:14:26)

Fupicat
Scratcher
1000+ posts

Can I use a smartphone to control a project?

Ok, I think I've given up now. I can't program anything in languages other than Scratch, and it doesn't seem that there is any easy way to do it. Thank you to everyone who tried to help me. I think I will unfollow this now.

Last edited by Fupicat (July 15, 2017 23:17:43)

herohamp
Scratcher
1000+ posts

Can I use a smartphone to control a project?

So you want to have the project on your screen and control it with your phone? I may work on something like that later this week. I'm busy rn but I know it is possible
-stache-
Scratcher
500+ posts

Can I use a smartphone to control a project?

Fupicat wrote:

-stache- wrote:

Use VNC.
That's not what I mean.
But it can work.
MegaApuTurkUltra
Scratcher
1000+ posts

Can I use a smartphone to control a project?

Fupicat wrote:

Is there any mod or app that allows me to use the phone's accelerometer, gyroscope, touchscreen and such to control a Scratch project?

No
DeleteThisAcount
Scratcher
1000+ posts

Can I use a smartphone to control a project?

guys hold on i saw an app related to this
DeleteThisAcount
Scratcher
1000+ posts

Can I use a smartphone to control a project?

DeleteThisAcount wrote:

https://play.google.com/store/apps/details?id=com.moyashi_koubou.androidsensor4scratch&hl=en
Okay, So I tried this out an it only works on Scratch 1.4 but when it does work it works
ninjagolloyd
Scratcher
500+ posts

Can I use a smartphone to control a project?

couldnt you send packets to an external server which uses the scratch api to do stuff to cloud variables and

too slow?

Powered by DjangoBB