This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-05 08:49:55

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Connect to Scratch on iOS!

Yep! Now you can control your Scratch project with an iPhone app! I got it working on Mac OSX (see the wiki article); iOS needs just a small fix. So now using a tilt sensor on your iPhone to move a platformer is possible! What do you think?

Last edited by Hardmath123 (2012-02-05 08:50:09)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#2 2012-02-05 11:00:14

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Connect to Scratch on iOS!

Neat! I'll try this once I figure out my iPhone's SSH password.  smile


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#3 2012-02-05 11:01:53

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: Connect to Scratch on iOS!

I know they have an Android Sensor app that sends accelerometer data to Scratch, but I prefer iOS. Someone should make a full-fledged app out of this!


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#4 2012-02-06 06:28:04

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Connect to Scratch on iOS!

I can make a full-fledged app, but I need a $99.00 Apple developer license (to test), and Apple still won't allow this app on the store. If anyone has a dev license, I'mm happy to share the (iPhone adapted, iOS does not support the Cocoa NSHost class  sad ) code.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#5 2012-02-06 06:31:20

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Connect to Scratch on iOS!

Oh dear... I was hoping to go into Apple app programming in future, I didn't realise there was a dev fee :S

I know you can use standard laptop accelerometers though, I saw it a while back  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#6 2012-02-06 06:37:03

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Connect to Scratch on iOS!

sparks wrote:

Oh dear... I was hoping to go into Apple app programming in future, I didn't realise there was a dev fee :S

I know you can use standard laptop accelerometers though, I saw it a while back  smile

Yep! Your MacBook Pro has an accelerometer. Unfortunately, my MacBook (not-so-Pro) does not.

Anyway, the dev fee is only for iOS programming, and that too for a non-jailbroken device. You can release Mac software for free, and test iOS apps on the simulator. It's just releasing your code on the App Store that's expensive. Even Xcode 3.x is free (I use it, it's awesome enough), though not Xcode 4 (which allows Lion and iOS 5 apps).
Oh, and I encourage you to pick up Objective C. It's a lot like Squeak. It'd be nice to have another Objective-C-er on the forums.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7 2012-02-06 07:38:48

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Connect to Scratch on iOS!

Hardmath123 wrote:

sparks wrote:

Oh dear... I was hoping to go into Apple app programming in future, I didn't realise there was a dev fee :S

I know you can use standard laptop accelerometers though, I saw it a while back  smile

Yep! Your MacBook Pro has an accelerometer. Unfortunately, my MacBook (not-so-Pro) does not.

Anyway, the dev fee is only for iOS programming, and that too for a non-jailbroken device. You can release Mac software for free, and test iOS apps on the simulator. It's just releasing your code on the App Store that's expensive. Even Xcode 3.x is free (I use it, it's awesome enough), though not Xcode 4 (which allows Lion and iOS 5 apps).
Oh, and I encourage you to pick up Objective C. It's a lot like Squeak. It'd be nice to have another Objective-C-er on the forums.

I have a dell XPS15,  not a macbook  tongue

I don't think I'm going to learn objective C, it's not a heavily used langauge nowadays, I'm learning C# at the moment for my University course and I prefer it to C because its object oriented  tongue


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#8 2012-02-06 09:13:38

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: Connect to Scratch on iOS!

Hardmath123 wrote:

I can make a full-fledged app, but I need a $99.00 Apple developer license (to test), and Apple still won't allow this app on the store. If anyone has a dev license, I'mm happy to share the (iPhone adapted, iOS does not support the Cocoa NSHost class  sad ) code.

I haven't read the app store rules; why wouldn't it be allowed?


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#9 2012-02-06 09:16:03

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Connect to Scratch on iOS!

technoboy10 wrote:

Hardmath123 wrote:

I can make a full-fledged app, but I need a $99.00 Apple developer license (to test), and Apple still won't allow this app on the store. If anyone has a dev license, I'mm happy to share the (iPhone adapted, iOS does not support the Cocoa NSHost class  sad ) code.

I haven't read the app store rules; why wouldn't it be allowed?

Probably because it reads code... that's why the Scratch Player app was taken off.

Offline

 

#10 2012-02-06 09:33:00

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Connect to Scratch on iOS!

scimonster wrote:

technoboy10 wrote:

Hardmath123 wrote:

I can make a full-fledged app, but I need a $99.00 Apple developer license (to test), and Apple still won't allow this app on the store. If anyone has a dev license, I'mm happy to share the (iPhone adapted, iOS does not support the Cocoa NSHost class  sad ) code.

I haven't read the app store rules; why wouldn't it be allowed?

Probably because it reads code... that's why the Scratch Player app was taken off.

The code is too short for Apple to take seriously, and the audience and practical uses are way too limited to be taken seriously.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#11 2012-02-06 16:29:25

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Connect to Scratch on iOS!

I'd like to see the source.  smile


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#12 2012-02-06 17:13:22

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Connect to Scratch on iOS!

I don't think Apple gets what scratch is. I would think that they would accept the app, since it gets kids into programming, and they might want to hire some programmers


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#13 2012-02-07 05:22:31

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Connect to Scratch on iOS!

bobbybee wrote:

I'd like to see the source.  smile

You can see the Mac app source in the Wiki link. For the iOS app, you need a slight change (No NSHost on UIKit  sad ).

Oh, and sparks, I find it amazing how you do all that awesome stuff without a Mactongue

Last edited by Hardmath123 (2012-02-07 05:22:46)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#14 2012-02-07 07:20:35

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Connect to Scratch on iOS!

Ok.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#15 2012-02-07 13:22:44

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Connect to Scratch on iOS!

Hardmath123 wrote:

Oh, and sparks, I find it amazing how you do all that awesome stuff without a Mactongue

Well that would be because PC's are just as compatible and useful, if not more so than Macs, in terms of coding and such. Mac may be a little better for graphics though.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#16 2012-02-07 13:27:20

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Connect to Scratch on iOS!

sparks wrote:

Hardmath123 wrote:

Oh, and sparks, I find it amazing how you do all that awesome stuff without a Mactongue

Well that would be because PC's are just as compatible and useful, if not more so than Macs, in terms of coding and such. Mac may be a little better for graphics though.

Well they all come with shiny screens now, so that's out the window(s 7).


http://i.imgur.com/zeIZW.png

Offline

 

#17 2012-02-07 17:16:14

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Connect to Scratch on iOS!

Hardmath123 wrote:

I can make a full-fledged app, but I need a $99.00 Apple developer license (to test), and Apple still won't allow this app on the store. If anyone has a dev license, I'mm happy to share the (iPhone adapted, iOS does not support the Cocoa NSHost class  sad ) code.

I think stevetheipad is.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#18 2012-02-07 18:55:26

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Connect to Scratch on iOS!

Well, stevetheipad should be able to program himself..


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#19 2012-02-07 23:06:11

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: Connect to Scratch on iOS!

bobbybee wrote:

Well, stevetheipad should be able to program himself..

Yeah. I'm a registered Apple dev.

What do you want submitted to the app store? Do you have the Xcode file already made?


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#20 2012-02-07 23:16:17

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Connect to Scratch on iOS!

Cool!  big_smile

Don't have iOS device  sad


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#21 2012-02-10 05:45:22

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Connect to Scratch on iOS!

stevetheipad wrote:

bobbybee wrote:

Well, stevetheipad should be able to program himself..

Yeah. I'm a registered Apple dev.

What do you want submitted to the app store? Do you have the Xcode file already made?

I don't want anything submitted, but it'd be nice if you could use the dev certificate stuff to test out my idea on a real device. And maybe even check out my code, see if I'm doing it right.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

Board footer