Discuss Scratch

hpscpenguin26
Scratcher
20 posts

Compatibility Issues Between Mac and Windows involving Cloud Data

I created a scratch program on a Mac with about 5 cloud variables that change frequently. Midway through the development of my program, I made a copy of it, and then continued development on the original version. I periodically tested my program using two different browsers (Internet Explorer and Google Chrome) simultaneously on the same mac (its a multiplayer program, so it needs 2 instances of the program). It worked amazing. Now that I am finished, I ran one instance of the program on a windows computer (Firefox), and the other on a mac (Google Chrome). This time, when a cloud variable would change on the windows instance of the program, the mac instance was unaware of the change, and after 30 seconds, was still unaware of any change. However, when the mac instance of the program changed a cloud variable, the windows instance of the program was aware of the change almost instantly.

So, to troubleshoot my issue, I made a new variable, and a new sprite, and made it so that when you clicked on the sprite (it was a bat ), it changed a new cloud variable by 1. When I ran the program, using the same windows and mac configuration, I got the same results as before. When i clicked on the sprite on the mac, the windows computer found out about the change instantly, while when i clicked on the sprite on the windows computer, the mac never found out about the change. (Note: I also tried this with 2 instances on the same mac, and it worked fine). I also tried this with no other scripts running (by using the stop button), and I got the same results.

Next, I made a copy of my program, and it still didn't work (I tried the same tests as before)

Now, remember that copy of the program that I made at the beginning. I ran one instance of that program on the windows computer, and the other on the mac (same internet browsers), and it worked fine. This is why I am not sure if this is a bug with my programming, or a bug with scratch.


Also, the little cloud icon that appears next to cloud variable names was just a little square on the windows computer (in the scratch viewer and editor), as if it could not find the image. It was fine on the mac

Note: I have tried multiple browser combinations other than the ones listed above, and I get the same results.

Link To Latest Version of Project: http://beta.scratch.mit.edu/projects/10124470/ (The Bat is the sprite i said i added that changes the variable “bluesky”)
Link To The Copy of Project that was made midway through development: http://beta.scratch.mit.edu/projects/10126483/

Last edited by hpscpenguin26 (May 5, 2013 18:39:49)


Have you ever seen a unicorn? Wait! I see one out your window right now! Why don't you go look for it while I update my signature.
hpscpenguin26
Scratcher
20 posts

Compatibility Issues Between Mac and Windows involving Cloud Data

Update: Works fine between 2 windows computers and 2 mac computers. Could there be a flash code difference between platforms?

Last edited by hpscpenguin26 (May 5, 2013 22:10:23)


Have you ever seen a unicorn? Wait! I see one out your window right now! Why don't you go look for it while I update my signature.
7734f
Scratcher
500+ posts

Compatibility Issues Between Mac and Windows involving Cloud Data

Hm…might be a bug just with Mac, you know Scratch has issues with Apple

hpscpenguin26
Scratcher
20 posts

Compatibility Issues Between Mac and Windows involving Cloud Data

Could be…but if scratch does have issues with apple, they should be fixed

Have you ever seen a unicorn? Wait! I see one out your window right now! Why don't you go look for it while I update my signature.
hpscpenguin26
Scratcher
20 posts

Compatibility Issues Between Mac and Windows involving Cloud Data

I have tried my program with a different window computer (but the same mac) and got the same results. I also tried the first windows computer with the mac but used the same browser both places (Google Chrome) and got the same results. I believe it is a compatibility issue because 2 windows computers running the program worked fine, as well as 2 mac instances (same mac different browsers), but when one instance of the program is a mac, and the other a windows computer, none of the cloud variables stay in sync, as described in the first post

Last edited by hpscpenguin26 (May 5, 2013 19:02:36)


Have you ever seen a unicorn? Wait! I see one out your window right now! Why don't you go look for it while I update my signature.
Lightnin
Scratcher
1000+ posts

Compatibility Issues Between Mac and Windows involving Cloud Data

hpscpenguin26 wrote:

Could be…but if scratch does have issues with apple, they should be fixed

Haha, we do almost all our development on apple machines. If anything, we have issues with Windows. XD

hpscpenguin26 wrote:

I have tried my program with a different window computer (but the same mac) and got the same results. I also tried the first windows computer with the mac but used the same browser both places (Google Chrome) and got the same results. I believe it is a compatibility issue because 2 windows computers running the program worked fine, as well as 2 mac instances (same mac different browsers), but when one instance of the program is a mac, and the other a windows computer, none of the cloud variables stay in sync, as described in the first post

So there are different ways cloud variables use to transfer data. A fast way, and a fallback way that most Windows systems end up using because of all the somewhat hyper-active security stuff. It's possible there is a difference in performance related to this - after the release, once things settle down, Sayamindu will look into this stuff to sort it out.

Thanks for reporting though - this kind of detailed info is helpful!

Last edited by Lightnin (May 5, 2013 23:22:38)

hpscpenguin26
Scratcher
20 posts

Compatibility Issues Between Mac and Windows involving Cloud Data

Thank You for responding!

Lightnin wrote:

hpscpenguin26 wrote:

Could be…but if scratch does have issues with apple, they should be fixed

Haha, we do almost all our development on apple machines. If anything, we have issues with Windows. XD

hpscpenguin26 wrote:

I have tried my program with a different window computer (but the same mac) and got the same results. I also tried the first windows computer with the mac but used the same browser both places (Google Chrome) and got the same results. I believe it is a compatibility issue because 2 windows computers running the program worked fine, as well as 2 mac instances (same mac different browsers), but when one instance of the program is a mac, and the other a windows computer, none of the cloud variables stay in sync, as described in the first post

So there are different ways cloud variables use to transfer data. A fast way, and a fallback way that most Windows systems end up using because of all the somewhat hyper-active security stuff. It's possible there is a difference in performance related to this - after the release, once things settle down, Sayamindu will look into this stuff to sort it out.

Thanks for reporting though - this kind of detailed info is helpful!
Thank You For Responding! I Think that there is a difference in cloud variable performance as well. (Mac is faster ). Its cool that you guys use Macs! You can close this topic if you want to.

Have you ever seen a unicorn? Wait! I see one out your window right now! Why don't you go look for it while I update my signature.
hpscpenguin26
Scratcher
20 posts

Compatibility Issues Between Mac and Windows involving Cloud Data

This is still an issue with scratch 2.0. Same results.

Have you ever seen a unicorn? Wait! I see one out your window right now! Why don't you go look for it while I update my signature.
hpscpenguin26
Scratcher
20 posts

Compatibility Issues Between Mac and Windows involving Cloud Data

Now, the issue appears to be affecting the version of my project that was made midway through development (read 1st post).

Have you ever seen a unicorn? Wait! I see one out your window right now! Why don't you go look for it while I update my signature.

Powered by DjangoBB