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

#1 2012-08-28 13:45:13

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Scratch 2.0 and Raspberry Pi (and linux in general)

If you've ever used linux you might have noticed how difficult it it to install flash(especially on ARM). And even if you do it tends to be very slow and unreliable in my experience meaning it doesn't work on RasPi well (if it loads at all). To me this seems a bit of a shame beacause a lot of RasPi users use scratch on their Pi and the BYOB, along with other new features is very useful.

My solution. Since it doesn't seem the scratch team have started on the offline version, mabye us, the AT community could begin to code this ourselves modelling it on Scratch 2.0 Flash. C++ seems to be the best language to use for this because we can easily compile it for ARM and it should be nice and quick.

Does anyone like this idea? have any suggestions?

Last edited by TRocket (2012-08-28 13:45:30)


http://i.imgur.com/1QqnHxQ.png

Offline

 

#2 2012-08-28 14:46:17

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

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

We could port gnash to play only 2.0, as opposed to swfs in general.

(wait nvm, gnash is slower than flash apparently)

Last edited by bobbybee (2012-08-28 14:47:46)


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

Offline

 

#3 2012-08-28 15:01:45

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

bobbybee wrote:

We could port gnash to play only 2.0, as opposed to swfs in general.

(wait nvm, gnash is slower than flash apparently)

C++ could be used 100s of times faster than the flash version.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#4 2012-08-28 15:08:35

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

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

That's a good point. Perhaps we could write a framework simulating all of ActionScript using AS3's function names, then write a compiler that would modify the syntax to use our "language" (along with a good amount of macros)


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

Offline

 

#5 2012-08-28 15:12:24

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

bobbybee wrote:

That's a good point. Perhaps we could write a framework simulating all of ActionScript using AS3's function names, then write a compiler that would modify the syntax to use our "language" (along with a good amount of macros)

0.o

That would be harder than writing Scratch in C++...


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#6 2012-08-28 15:17:05

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

bobbybee wrote:

That's a good point. Perhaps we could write a framework simulating all of ActionScript using AS3's function names, then write a compiler that would modify the syntax to use our "language" (along with a good amount of macros)

i guess we could, but if we do we are essentially rewriting flash (which adobe has stopped supporting).
and as MathWhizz says it would be harder than just rewriting scratch.

Last edited by TRocket (2012-08-28 15:17:59)


http://i.imgur.com/1QqnHxQ.png

Offline

 

#7 2012-08-28 15:17:35

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

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

MathWizz wrote:

bobbybee wrote:

That's a good point. Perhaps we could write a framework simulating all of ActionScript using AS3's function names, then write a compiler that would modify the syntax to use our "language" (along with a good amount of macros)

0.o

That would be harder than writing Scratch in C++...

Yes, but it's not limited to 2.0. It would apply to any AS3 app.


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

Offline

 

#8 2012-08-28 20:34:26

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

TRocket wrote:

(which adobe has stopped supporting).

Uh, no? That's only for mobile devices.


Posts: 20000 - Show all posts

Offline

 

#9 2012-08-29 04:45:52

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

veggieman001 wrote:

TRocket wrote:

(which adobe has stopped supporting).

Uh, no? That's only for mobile devices.

yes, but adobe have never been good at having a flash implementation for linux(let alone strange architectures like ARM) and flash on a 700Mhz 128Mb chip doesn't sound too quick...


http://i.imgur.com/1QqnHxQ.png

Offline

 

#10 2012-08-29 05:24:23

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

TRocket wrote:

veggieman001 wrote:

TRocket wrote:

(which adobe has stopped supporting).

Uh, no? That's only for mobile devices.

yes, but adobe have never been good at having a flash implementation for linux(let alone strange architectures like ARM) and flash on a 700Mhz 128Mb chip doesn't sound too quick...

Flash player keeps flickering a lot on Linux. Especially on Everybody Edits.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#11 2012-08-29 05:41:43

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

veggieman001 wrote:

TRocket wrote:

(which adobe has stopped supporting).

Uh, no? That's only for mobile devices.

Uh, no? also for linux, except for chrome (which is also stuck behind at 11.2)
http://www.zdnet.com/blog/open-source/adobe-abandons-linux/10418

Offline

 

#12 2012-08-29 05:48:32

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

yep as roijac and nathanprocks said, linux and flash is a bad combination And it doesn't seem like the ST have started the ofline version yet anyway...


http://i.imgur.com/1QqnHxQ.png

Offline

 

#13 2012-08-29 12:22:43

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

just seen http://www.raspberrypi.org/phpBB3/viewt … mp;t=12522 on the RasPi forums... it seems the Pi can't even handle 1.x that well either.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#14 2012-08-30 02:08:25

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

bump


http://i.imgur.com/1QqnHxQ.png

Offline

 

#15 2012-08-30 02:32:23

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

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

I hope you guys get Scratch to work on ARM because I'm dying to get it installed on my Android tablet with ARM Ubuntu on it  tongue


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

Offline

 

#16 2012-08-31 09:48:25

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

bump


http://i.imgur.com/1QqnHxQ.png

Offline

 

#17 2012-09-01 15:13:13

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

bump


http://i.imgur.com/1QqnHxQ.png

Offline

 

#18 2012-09-02 13:30:19

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

Hi All!
Of course you are welcome to make your own mod of Scratch - we love to see remixes! But please don't call it Scratch or use the cat or gobo. We want to avoid confusion, especially for new users.
As for offline - probably we'll end up using something like air, so the application looks / works the same online as it does off. It's *really* hard to get consistent performance and behavior with implementations written in different languages, so that's why we wouldn't try to make it in C or anything. But you are welcome to use the ideas from Scratch to make your own app!


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#19 2012-09-02 13:39:35

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

Lightnin wrote:

But you are welcome to use the ideas from Scratch to make your own app!

Will the pseudo-code for the movement detection etc. be released?
Also, cloud vars API?

Offline

 

#20 2012-09-02 14:14:52

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

Lightnin wrote:

Hi All!
Of course you are welcome to make your own mod of Scratch - we love to see remixes! But please don't call it Scratch or use the cat or gobo. We want to avoid confusion, especially for new users.
As for offline - probably we'll end up using something like air, so the application looks / works the same online as it does off. It's *really* hard to get consistent performance and behavior with implementations written in different languages, so that's why we wouldn't try to make it in C or anything. But you are welcome to use the ideas from Scratch to make your own app!

cool, thanks! would scratch++ be ok?
also, if you didn't know Adobe has stopped supporting AIR on Linux

Last edited by TRocket (2012-09-02 14:16:45)


http://i.imgur.com/1QqnHxQ.png

Offline

 

#21 2012-09-21 14:15:14

logiblocs
Scratcher
Registered: 2010-05-05
Posts: 100+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

Can I join? I cannot promise anything but every now and then I might make the occasional commit. My github username is logiblocs.

Offline

 

#22 2012-09-21 14:45:31

laser314
Scratcher
Registered: 2010-07-16
Posts: 100+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

All I had to do with Flash was download the RPM and run:

Code:

sudo yum install [name of RPM]

http://alpha.scratch.mit.edu/scratchr2/static//images/logo_sm.png 2.0 Alpha Tester!http://i49.tinypic.com/1zckcqb.png

Offline

 

#23 2012-09-22 01:45:30

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

Great idea! As for code goes I recommend Pascal though :p


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#24 2012-09-23 19:10:18

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

Scratch++ is too similar, in my opinion.  Why would you use pascal for coding?

Wouldn't it be better to add the features of 2.0 to the 1.4 squeak version?

Offline

 

#25 2012-09-23 19:30:44

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

Re: Scratch 2.0 and Raspberry Pi (and linux in general)

So has anyone made a version of Scratch for ARM linux yet?  tongue


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

Offline

 

Board footer