Discuss Scratch

elfin8er
Scratcher
100+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

DaSpudLord wrote:

Yus! That sounds awesome! If you could add more features to make this more mobile friendly, that would really be epic!

Also, here's another way you could improve it- make it so that pressing and holding on the screen brings up right-click menus.

Oh, I like that idea. However right now, I'm having a strange issue with the pinch to zoom feature. The actual zooming works pretty well, but for some reason, when you're zoomed in, you can't interact with blocks. You can interact with everything else, just not blocks. I don't even know how to begin debugging this… If anyone knows AS3 really well, let me know! I've never used it before. I'm kinda just fumbling around with it…
DaSpudLord
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

elfin8er wrote:

DaSpudLord wrote:

Yus! That sounds awesome! If you could add more features to make this more mobile friendly, that would really be epic!

Also, here's another way you could improve it- make it so that pressing and holding on the screen brings up right-click menus.

Oh, I like that idea. However right now, I'm having a strange issue with the pinch to zoom feature. The actual zooming works pretty well, but for some reason, when you're zoomed in, you can't interact with blocks. You can interact with everything else, just not blocks. I don't even know how to begin debugging this… If anyone knows AS3 really well, let me know! I've never used it before. I'm kinda just fumbling around with it…
While I know nothing about real coding, and it's not really my place to be telling you how to fix your code, I have found a glitch in the Scratch 2.0 online editor related to zooming that may (or may not) be related to your glitch. I have a computer with a large screen and I have the resolution set pretty high, and because of this, when viewing pages in my web browser, the pages look a bit smaller than they would on a normal computer. In order to fix this, I set the default zoom of my browser to 125%. Whenever I enter the Scratch online editor with the 125% zoom, I end up with a weird bug where right-clicking is discoordinated. I right click in one place, and the editor thinks I right-clicked to the right of where I actually clicked. Zooming back to 100% zoom fixes this. Perhaps there is a similar effect in your program- you're clicking in one area, but the program thinks you're clicking somewhere else? But the bug I described only occurs with right-clicks, and dragging blocks and other stuff is not affected by the zoom level, so they might be completely unrelated bugs.

Anyway, good luck fixing the glitch, and may your Scratch 2.0 mobile app have a bugless future!
elfin8er
Scratcher
100+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

DaSpudLord wrote:

elfin8er wrote:

DaSpudLord wrote:

Yus! That sounds awesome! If you could add more features to make this more mobile friendly, that would really be epic!

Also, here's another way you could improve it- make it so that pressing and holding on the screen brings up right-click menus.

Oh, I like that idea. However right now, I'm having a strange issue with the pinch to zoom feature. The actual zooming works pretty well, but for some reason, when you're zoomed in, you can't interact with blocks. You can interact with everything else, just not blocks. I don't even know how to begin debugging this… If anyone knows AS3 really well, let me know! I've never used it before. I'm kinda just fumbling around with it…
While I know nothing about real coding, and it's not really my place to be telling you how to fix your code, I have found a glitch in the Scratch 2.0 online editor related to zooming that may (or may not) be related to your glitch. I have a computer with a large screen and I have the resolution set pretty high, and because of this, when viewing pages in my web browser, the pages look a bit smaller than they would on a normal computer. In order to fix this, I set the default zoom of my browser to 125%. Whenever I enter the Scratch online editor with the 125% zoom, I end up with a weird bug where right-clicking is discoordinated. I right click in one place, and the editor thinks I right-clicked to the right of where I actually clicked. Zooming back to 100% zoom fixes this. Perhaps there is a similar effect in your program- you're clicking in one area, but the program thinks you're clicking somewhere else? But the bug I described only occurs with right-clicks, and dragging blocks and other stuff is not affected by the zoom level, so they might be completely unrelated bugs.

Anyway, good luck fixing the glitch, and may your Scratch 2.0 mobile app have a bugless future!
Huh, interesting. Thanks for that. That's kinda what I thought it might be at first, but like you said, since it only happens for right clicks, I think it's something else. I also tried tapping around the blocks, but didn't have any success with that either. I don't even know where to start with trying to debug this…

Last edited by elfin8er (Jan. 17, 2016 05:52:06)

HelloIamJimmy
Scratcher
2 posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

Excuse me, cannot save!?
Quindynn
Scratcher
41 posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

HelloIamJimmy wrote:

Excuse me, cannot save!?
yeah…it's an early build.
if (logic found) then

stop [all]
end
elfin8er
Scratcher
100+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

HelloIamJimmy wrote:

Excuse me, cannot save!?
Keep your eyes out for the next version. I'm hoping to add the ability to save, pinch to zoom, camera access, etc. Not 100% sure if I'm going to be able to get everything working though…
Scratcher959
Scratcher
50 posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

elfin8er wrote:

HelloIamJimmy wrote:

Excuse me, cannot save!?
Keep your eyes out for the next version. I'm hoping to add the ability to save, pinch to zoom, camera access, etc. Not 100% sure if I'm going to be able to get everything working though…
How long do you think it might be?
DaSpudLord
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

Quindynn wrote:

HelloIamJimmy wrote:

Excuse me, cannot save!?
yeah…it's an early build.
Yup. It is a direct port of the Scratch 2 Online editor to mobile- virtually no edits- and due to the permissions system on mobile being different from the way that access to storage is handled on desktop computers, saving (and a bunch of other features) don't work.
elfin8er
Scratcher
100+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

Scratcher959 wrote:

elfin8er wrote:

HelloIamJimmy wrote:

Excuse me, cannot save!?
Keep your eyes out for the next version. I'm hoping to add the ability to save, pinch to zoom, camera access, etc. Not 100% sure if I'm going to be able to get everything working though…
How long do you think it might be?
I might release a version with improved permissions in the next few days. Pinch to zoom could take a lot longer because I'm currently having problems that I can't resolve…
Jonathan50
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

Jonathan50 wrote:

ELIAPPLE7 wrote:

Jonathan50 wrote:

Nice–can you release an xcodeproj or similar to allow users to sign on iOS?
With Xcode 7 you can sign iOS apps using an Apple ID for free without jailbreaking.
Nope. You have to have a licence to sing iOS apps and ship em' to the market. AFTER Apple checks it out to be sure they really want it. That's why Scratch got taken off. They didn't want it up because it was device coding and Apple doesn't like that. But to be a licenced developer, it's $99/ year
No I mean can elfin8r release an xcodeproj so people can build it themselves?
Or is there some way to sign an existing binary with an Apple ID?

comp09 wrote:

Just distribute the source code, and anyone with a Mac can sideload it onto a device.
^^
elfin8er
Scratcher
100+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

DanFish wrote:

RPFluffy wrote:

I would like to point out some people won't want to have there iOS “jailbroken” as it makes it vulnerable, so try to make it possible for non-“jailbroken” devices.
What is “jailbroken” anyway?
It's essentially modifying your devices permissions to allow you to do things on it that you wouldn't normally be able to do. This includes running unsigned apps, which is kinda what I'm doing here.

Jonathan50 wrote:

Jonathan50 wrote:

ELIAPPLE7 wrote:

Jonathan50 wrote:

Nice–can you release an xcodeproj or similar to allow users to sign on iOS?
With Xcode 7 you can sign iOS apps using an Apple ID for free without jailbreaking.
Nope. You have to have a licence to sing iOS apps and ship em' to the market. AFTER Apple checks it out to be sure they really want it. That's why Scratch got taken off. They didn't want it up because it was device coding and Apple doesn't like that. But to be a licenced developer, it's $99/ year
No I mean can elfin8r release an xcodeproj so people can build it themselves?
Or is there some way to sign an existing binary with an Apple ID?

comp09 wrote:

Just distribute the source code, and anyone with a Mac can sideload it onto a device.
^^
I don't really have the source code though… The only code that I have is the Actionscript code that's available HERE. I've just figured out how to compile it for iOS. It just gets compiled directly into an iPA.

In theory, you may be able to decompile the iPA and import it into xcode. Maybe I'll mess around with that and see what I can do. I'm just not sure if you could decompile it into anything other than assembly…

Last edited by elfin8er (Jan. 23, 2016 08:30:55)

CappottoXD123
Scratcher
12 posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

SO AWESOME!
SB4321
Scratcher
75 posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

elfin8er wrote:

For those of you asking for Scratch to be made for iOS and Android, look no further! I've got it for both Android and iOS. Simply download the free APK or iPA and install it on your device (installation instructions below). Now you can finally enjoy Scratch wherever you are

Download
Android: Direct | Adfly
iOS: Direct | Adfly

Installation Instructions

iOS (Must be jailbroken)
1. Download Scratch.iPA from the link above.
2. Install AppSync on your device via Cydia
3. Be sure you have iTunes downloaded on your computer.
4. Double click on the iPA file and install it onto your iOS device.

Android
1. Download Scratch.apk from the link above.
2. Transfer the APK to your device.
3. Allow your device to install apps from unknown locations (different for some devices)
4. Install the APK using your favorite file manager.
(coming to the app store soon (hopefully))

Screenshots



Notes
If anybody would like to make icons for these apps, feel free! I need some icons of different sizes. 16x16, 32x32, 48x48, 128x128. High-res please

The app may not look very good on higher-res Android devices. This may be able to be solved easily, or it may require parts of Scratch to be rewritten, I'm not sure.

Both apps are a little bit buggy, but it'll hopefully let you at least get some concepts started. For an example, I don't believe saving and loading projects work on either device. Still experimenting on other Android and iOS devices though…

For those of you who have a jailbroken iOS device, I'll hopefully upload the iPA to Cydia so you can more easily install the app directly on your device. As for Android, if I can get permission from the Scratch team, I'll upload it to the app store (I already have a developer license). Though, it is open source so permission may not be needed…

Until I can find someone with a developer license, the ipa will remained un-signed and only install-able on a jailbroken device with AppSync installed.
please do not encourage children to break the law this could cause PERMANET DAMAGE to the device this is illegal
Jonathan50
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

SB4321 wrote:

please do not encourage children to break the law this could cause PERMANET DAMAGE to the device this is illegal
1. It is not illegal.
2. It can not damage your device.
DaSpudLord
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

Jonathan50 wrote:

SB4321 wrote:

please do not encourage children to break the law this could cause PERMANET DAMAGE to the device this is illegal
1. It is not illegal.
2. It can not damage your device.
1. What he said.
2. Well, jailbreaking an iPhone could result in damage if you do it wrong, or you download a malicious app… but still, jailbreaking is a relatively safe process, there are hundreds of online guides to do it safely, and even if you do jailbreak it, the chance of getting a virus is low. But using this on Android should be a safe process, as you don't need to root your Android to use this.

Last edited by DaSpudLord (Jan. 29, 2016 00:00:31)

Jonathan50
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

DaSpudLord wrote:

Jonathan50 wrote:

SB4321 wrote:

please do not encourage children to break the law this could cause PERMANET DAMAGE to the device this is illegal
1. It is not illegal.
2. It can not damage your device.
1. What he said.
2. Well, jailbreaking an iPhone could result in damage if you do it wrong, or you download a malicious app… but still, jailbreaking is a relatively safe process, there are hundreds of online guides to do it safely, and even if you do jailbreak it, the chance of getting a virus is low. But using this on Android should be a safe process, as you don't need to root your Android to use this.
Well, the chance that you'll get malware is much smaller than the chance you'd malware on Windows.

Last edited by Jonathan50 (Jan. 29, 2016 00:08:34)

DaSpudLord
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

Jonathan50 wrote:

DaSpudLord wrote:

Jonathan50 wrote:

SB4321 wrote:

please do not encourage children to break the law this could cause PERMANET DAMAGE to the device this is illegal
1. It is not illegal.
2. It can not damage your device.
1. What he said.
2. Well, jailbreaking an iPhone could result in damage if you do it wrong, or you download a malicious app… but still, jailbreaking is a relatively safe process, there are hundreds of online guides to do it safely, and even if you do jailbreak it, the chance of getting a virus is low. But using this on Android should be a safe process, as you don't need to root your Android to use this.
Well, the chance that you'll get malware is much smaller than the chance you'd malware on Windows.
That's what I said…

DaSpudLord wrote:

even if you do jailbreak it, the chance of getting a virus is low.
SB4321
Scratcher
75 posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

RPFluffy wrote:

I would like to point out some people won't want to have there iOS “jailbroken” as it makes it vulnerable, so try to make it possible for non-“jailbroken” devices.
that is impossible because apple does not allow Cydia to work if not jailbroken
nathanprocks
Scratcher
1000+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

SB4321 wrote:

RPFluffy wrote:

I would like to point out some people won't want to have there iOS “jailbroken” as it makes it vulnerable, so try to make it possible for non-“jailbroken” devices.
that is impossible because apple does not allow Cydia to work if not jailbroken
You can install it without jailbreak if you have OS X and the latest version of Xcode.
elfin8er
Scratcher
100+ posts

Unofficial - Scratch 2.0 Compiled For Mobile - Download Now! (iOS and Android)

nathanprocks wrote:

SB4321 wrote:

RPFluffy wrote:

I would like to point out some people won't want to have there iOS “jailbroken” as it makes it vulnerable, so try to make it possible for non-“jailbroken” devices.
that is impossible because apple does not allow Cydia to work if not jailbroken
You can install it without jailbreak if you have OS X and the latest version of Xcode.
Never thought of this… I doubt you'd be able to install tweaks though. But something like this should work…

Powered by DjangoBB