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

#1 2012-06-15 21:38:27

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Google Blockly

I don't post too much in this forum, but I thought this was pretty cool. Google has released a new programming language (based on App Inventor and Scratch) called Blockly, which allows you to make scripts with Scratch-like blocks, which can be exported as Javascript, Dart, Python, or eventually any other programming language.

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

Try out the maze demo here, and try out a demo with more general blocks here. What are your first impressions? Would you use it to do programming in the future if it becomes more popular? What other languages should it export to? I'm curious what you guys think about this.

Last edited by Lucario621 (2012-06-15 21:50:27)


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

Offline

 

#2 2012-06-15 21:44:11

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Google Blockly

Looks EXTREMELY similar to Scratch in way of what commands there are, I'll have to try it out some time.

You also say it can export to any other language than asks what others it should?


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#3 2012-06-15 21:50:08

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Google Blockly

soupoftomato wrote:

Looks EXTREMELY similar to Scratch in way of what commands there are, I'll have to try it out some time.

You also say it can export to any other language than asks what others it should?

My mistake - at least it will be able to export into most other languages in the future.  smile


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

Offline

 

#4 2012-06-15 21:52:47

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: Google Blockly

Erm... Not exactly easy.


Get ready for domination of:  tongue

Offline

 

#5 2012-06-15 21:55:13

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Google Blockly

coolhogs wrote:

Erm... Not exactly easy.

What isn't?


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#6 2012-06-15 21:56:26

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: Google Blockly

To learn. Blockly.


Get ready for domination of:  tongue

Offline

 

#7 2012-06-15 22:00:10

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Google Blockly

coolhogs wrote:

To learn. Blockly.

Hmm... well there's a lot of similar blocks. But I see what you mean - there's a lot of different ones, and some of the syntax is different. (Where are the hat blocks anyway?  tongue ) But I think after a while you'll find that it's fairly similar to Scratch.


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

Offline

 

#8 2012-06-15 22:00:16

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Google Blockly

coolhogs wrote:

To learn. Blockly.

It's probably the easiest thing you'll be able to find that can export to other major languages.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#9 2012-06-15 23:32:18

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

Re: Google Blockly

This seems pretty good  big_smile


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

Offline

 

#10 2012-06-15 23:49:30

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

Re: Google Blockly

Finished the maze with an AI script :3


http://img189.imageshack.us/img189/97/57483751.th.png

Last edited by jji7skyline (2012-06-15 23:50:08)


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

Offline

 

#11 2012-06-15 23:54:56

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Google Blockly

Seems pretty basic.


6418,

Offline

 

#12 2012-06-15 23:58:27

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Google Blockly

jji7skyline wrote:

Finished the maze with an AI script :3


http://img189.imageshack.us/img189/97/57483751.th.png

I did a really simple A.I. for it.

It just moved forward as long as possible, turned right until it could move again at walls and turned right after every walk forward and checked if it could walk to prevent an infinite loop.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#13 2012-06-16 00:04:22

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

Re: Google Blockly

Mine alternates between right checking, then left checking for a wall, and turns at every opportunity, then moves forward to prevent infinite loops.


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

Offline

 

#14 2012-06-16 00:06:16

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Google Blockly

It's very similar to Scratch.


http://trinary.tk/images/signature_.php

Offline

 

#15 2012-06-16 00:09:28

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: Google Blockly

objective C.  This would make programming apps a lot easier, even though you'd probably have to tweak the code to make it completely compatible with iOS.


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#16 2012-06-16 00:12:28

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

Re: Google Blockly

trinary wrote:

It's very similar to Scratch.

Definitely.


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

Offline

 

#17 2012-06-16 07:43:59

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: Google Blockly

Awesome!


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#18 2012-06-16 13:14:30

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Google Blockly

Seems pretty nice!

Offline

 

#19 2012-06-16 14:02:26

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

Re: Google Blockly

It's pretty cool. I actually found it a while ago but did nothing with it... I still haven't done anything with it xD


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

Offline

 

#20 2012-06-16 14:05:39

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Google Blockly

It sounds cool, I'll download it later.


Why

Offline

 

#21 2012-06-16 14:07:35

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Google Blockly

Looks cool!  big_smile


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#22 2012-06-16 14:18:27

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Google Blockly

http://i.imgur.com/WyUOu.gif


http://i46.tinypic.com/6yd4c0.png

Offline

 

#23 2012-06-16 14:22:47

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

Re: Google Blockly

RedRocker227 wrote:

It sounds cool, I'll download it later.

You don't download it, it's online  tongue


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

Offline

 

#24 2012-06-16 15:50:07

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Google Blockly

I'm going to assume that you are not working for Google and helped to make this, so doesn't it belong in TIRAP?

Laternenpfahl wrote:

http://i.imgur.com/WyUOu.gif

What about intersections?

Offline

 

#25 2012-06-16 18:28:17

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Google Blockly

Hmm... I see some posts by jji7skyline and Laternenpfahl including some solutions to the Maze demo, however there is a much easier way:

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


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

Offline

 

Board footer