Discuss Scratch

khanning
Scratcher
34 posts

Scratcher Control Android app

Hi everyone,

I just wanted to share out my new Android app with the Scratch community. It allows you to control your Scratch 1.4 project using any Android powered device. It lets you use a directional pad, buttons, accelerometer values, light sensor values, touch gestures, and voice commands in your project!



Instructions and example projects available at:
Scratcher Control website

Added Scratch 2.0 support using the Scratcher Control Server on 9/26/2013



If you tweet about it, use #ScratcherControl

Let me know what you think!

Last edited by khanning (Sept. 26, 2013 20:43:43)

itchy20
Scratcher
100+ posts

Scratcher Control Android app

Hi,
This looks really neat. I have a Kindle Fire HD 8.9. Would you like me to test it out and let you know if it works? Unfortunately, I do not have access to the Google Play store with this device (Amazon has their own store). Is there any way to get access to the .APK?

Thanks.
khanning
Scratcher
34 posts

Scratcher Control Android app

Hi itchy20,

That would be great! I also post the apk's up on the Scratcher Control website.

Here is the direct link:
http://khanning.com/scratchercontrol/ScratcherControl.apk

Last edited by khanning (May 14, 2013 13:51:03)

itchy20
Scratcher
100+ posts

Scratcher Control Android app

Thanks. I will be away until next week, but will try it out before I leave. In case I run out of time, I will try it out when I get back and let you know.

Again, thanks alot.

itchy20
Scratcher
100+ posts

Scratcher Control Android app

It's me again. I tried to connect the Fire and am having some problems. I checked to make sure that remote sensors are enabled. When I put the IP address into the Scratch Connection IP address dialog on my FIre and press done, the dialog does not dismiss. If I tap the screen it does dismiss, but I never get a connected indication (it says Not Connected). If I go back to the connection choice from the app menu, the default is back again (not sure if that is the expected behavior or not)

The IP address I am using is 192.168.2.173 (not 192.168.1 - it's just the way my lan is set up). I am not sure it that has anything to do with it or not.

I installed a ping tool on the Fire and I am able to ping my computer that is running Scratch so I know I have connectivity. I am going to be away for a few days, so I will not be able to try anything until I get back.

If you have any suggestions or questions, I will be glad to try those out when I return.

Thanks.
khanning
Scratcher
34 posts

Scratcher Control Android app

Are you clicking the “Connect” button after entering the IP address? It only saves the IP if you click the “Connect” button, so it makes sense that it keeps going back to the default 192.168.1.1. Any IP address will work, it does not have to begin with 192.168.1.X. If you tap the screen around the connection dialog it will just dismiss the dialog (equivalent to pressing the “Cancel” button). I'm going to try to set up and Android virtual machine that mimic's the Fire to test.
itchy20
Scratcher
100+ posts

Scratcher Control Android app

Hi,
I am sending 2 screenshots to your gmail account so you can see what I see. After entering the IP address there is no Connect or Cancel button exposed. Maybe something funny in the way Amazon has implemented Android. I think Amazon is using a forked version of 4.0.4.

Thanks
khanning
Scratcher
34 posts

Scratcher Control Android app

Thank you for the feedback! It was an issue with the way the Kindle devices handle dialog's. I fixed the problem and uploaded the new apk (version 1.2). The new apk is posted on the Scratcher Control website http://khanning.com/scratchercontrol, it should hit the Google Play store in a few hours. I also submitted the app to the Amazon App store so hopefully it will be there in a few days!
sauble
New to Scratch
1 post

Scratcher Control Android app

Excellent job. We are able to tweak and play with the example no problem, works great. Would you have any examples or documentation that shows key, touch and voice interactions all in one example ? I'm missing how to merge all of them together.

Again thanks for the good work.
cwrivera99
Scratcher
500+ posts

Scratcher Control Android app

I can't connect to my computer with mine

when this block is clicked::sensing hat//FYI, this is my old account that I no longer use. My current account is @DaSpudLord.
forever {do (a [scratch v]::events ring)::sound}::extension cstart
say [what the...?] in (the language of [the moon people v]::red)::control
create [spontaneous v] explosion in [a flea's stomach]::motion
That's not right...::cend
If you are reading this… Then congratulations! You have found the part of my signature that was eaten by a kumquat! (On a side note, you are probably in a kumquat's stomach.) Now get out of the kumquat's stomach and go do something productive with your life. Like playing this game over and over again. Very productive.
sindybad
Scratcher
74 posts

Scratcher Control Android app

COOOOOL it works!!

click here to view a great cloud data game
click here to view a makey makey studio(makey makey web)

yay offline editor

limes336
Scratcher
23 posts

Scratcher Control Android app

awesome! is it possible to make it on IOS?
SimpleScratch
Scratcher
500+ posts

Scratcher Control Android app

limes336 wrote:

awesome! is it possible to make it on IOS?

I asked Kreg this on twitter but he has no plans to so we are going to need an IOS developer to take it on as a project.

Is there anyone out there up for the job?

Simon
SimpleScratch
Scratcher
500+ posts

Scratcher Control Android app

Hi Kreg
Could you add in a broadcast to signal when the button/arrow keys are pressed (as per the start and select buttons)

I think It would make it easier for Scratchers so they can just use a simple When I Receive … hat and then react to that.

Young Scratchers then wouldn't have to get involved with comparison operators

(but leave the sensor values in as well for more advanced Scratchers)

Simon
khanning
Scratcher
34 posts

Scratcher Control Android app

Hi everyone,

I updated Scratcher Control today in the Google Play store. The updates adds Porteguese (Brazil) language support, and support for Scratch 2.0 through the Scratcher Control Server.



Instructions and example projects available at:
Scratcher Control website

Have fun!

Last edited by khanning (Sept. 26, 2013 20:43:54)

11builderboy11
Scratcher
42 posts

Scratcher Control Android app

Wow,it's like a gaming console controller! Good job! How long did it take to make?

Greetings. I'm 11builderboy11, a “sorta-good” programmer. I have made games like Five Nights At Lizzy's, Sally.EXE, and my most famous one so far, Roblox Laser Tag, a remix of another game. I also like to experiment around in the editor. I enjoy space, animals, swimming, being lazy, and being on my computer. I'm an atheist, and believe in the theory of evolution.
Spunky_Sam
Scratcher
44 posts

Scratcher Control Android app

11builderboy11 wrote:

Wow,it's like a gaming console controller! Good job! How long did it take to make?
I bet 40 hours.

define eat [food] (times) times
point towards (food)
repeat until <touching (food)?>
move (5) steps
end
repeat (times)
play sound [nom v] until done
end
broadcast (join (food) [ Eaten])
jji7skyline
Scratcher
1000+ posts

Scratcher Control Android app

This is really cool! If you want to try a (secret) beta of my upcoming flight simulator game, you can try it with scratchercontrols here

http://scratch.mit.edu/projects/14403688/

Feel free to add to example projects
jji7skyline
Scratcher
1000+ posts

Scratcher Control Android app

Oh, and you should also post this to Advanced topics, (maybe ask it to be moved there with a redirect link left here), because it's going to get a lot more attention there
JJROCKER
Scratcher
100+ posts

Scratcher Control Android app

That's pretty cool! Good job

Powered by DjangoBB