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

#26 2009-11-12 13:24:21

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

If you are going to add the ability to call web services in scratch, you'll need some facilities for parsing XML.  That would include being able to create XML in preparation to calling a web service and being able to pull attributes and data out of an XML string.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#27 2009-11-12 14:18:48

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

BoltBait wrote:

If you are going to add the ability to call web services in scratch, you'll need some facilities for parsing XML.  That would include being able to create XML in preparation to calling a web service and being able to pull attributes and data out of an XML string.

I like the idea of a (parse [ some ridiculous xpath notation ] from [ string ]) reporter, but in the name of ease of use, maybe some blocks like (attribute [name] of [node]) and (item [number] of [XML string's] nodes called [node name]) ?

Last edited by fullmoon (2009-11-12 14:19:39)


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#28 2009-11-12 14:28:16

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

Yes, I'm sure the Scratch Team will come up with an easy access way to handle the XML.  I was just throwing the thought out there so that they wouldn't forget that we would need something like this.

I would love to be able to read RSS feeds with a scratch project.

I can also imagine writing a game server web service that could be consumed by a Scratch project... you know, something along the lines of hooking players up to play against each other while recording games in a database for later reporting (by another project)... think tourney ladders, people watching tourney games in process (or at a later date), etc.

The mind boggles.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#29 2009-11-14 00:08:47

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

Jonathanpb wrote:

Maybe people could make a project where you can see what percentage of the projects on Scratch are yours. If Scratch could check how many projects there are on the website, and how many projects you have (or the program asks you to input the number in), you could do it!

Or like in that project by illusionist, What scratcher are you?, where it asks for how many projects of each type you had. You could use tags. Maybe you could also find the ratio of love-its to veiws. Or what percentge of the scratch population is on your friends list. Or how many projects an average user makes. The possibilities are really endless.

I also like the weather idea too. You could take forcasts and turn them into a project. Like searching in a certain area for the current weather conditions and a five day forecast. Or perhaps a weather simulation that animates the current conditions (example: if the wind speed is over a certain mph or km/h, play a certain wind animation)


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#30 2009-11-15 16:24:57

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

See this post for my suggestion for a URL() block.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#31 2009-11-15 16:42:36

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

What also might be cool is if you could get the date and time at different locations if it is on a website...


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#32 2009-11-15 16:45:03

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

greenflash wrote:

What also might be cool is if you could get the date and time at different locations if it is on a website...

Or maybe a check in game. When a user plays it checks in that time so maybe it could keep a data of when users play!


Scratchin' since 2007

Offline

 

#33 2009-11-15 19:28:46

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

Hey Scratch Team, is this any hint of using web data in Scratch?  wink

Like Fullmoon suggested somewhere, he made a post for a 'URL' block. May I suggest:

<url 'blah' exists> if such URL exists
<url 'blah'> useful for making a sprite switch to a costume of the URL, or reading a feed
reload url 'blah' reloading a URL if it is not working
<url 'blah' 's headings> can only be compiled into a list. Can also sense the title, subheadings, etc.

It may be far-fetched, but

set url 'blah' HTML to 'blah'

And maybe some HTML blocks to read?


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#34 2009-11-15 19:40:25

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

Lucario621 wrote:

Magnie wrote:

This re-minds me of NetScratch  wink  Maybe it could save data or text or a variable or a list. ( Kinda like the other ideas you have )
Some uses could be:
1. Scratch Email!  tongue
2. Scratch Internet!  tongue  ( I'm making this in BYOB 2.0 with the Mesh feature. )
3. I don't think Scratch Chat could be used with that.
4. Maybe reading the forums from Scratch! ( That would be awesome! )
5. Reading Comments!
6. I'm not sure what else... But if you allow it to write data ( Text and Variables and Lists as I said above ) you could do SO MUCH with it!

That's all.  big_smile

The thing is, why would you want to do that in a scratch project, when you could actually open a web browser and do most of those things. No internet? Well then you wouldn't be able to have scratch connect to get those things.

But yeah this reminds me of netscratch.

I especially wanna focus on high score tables and such  smile . For that though, I think all users could create a table at like http://scratch.mit.edu/users/Lucario621/data, and each user would have one for themselves to use for their games. It could have a link to a website, to get info from their, or something else. This way people are limited so servers don't pile up with data. Depends if you need to limit it or not.

they could use internet on a scratch OSs


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#35 2009-11-15 19:47:11

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

adriangl wrote:

greenflash wrote:

What also might be cool is if you could get the date and time at different locations if it is on a website...

Or maybe a check in game. When a user plays it checks in that time so maybe it could keep a data of when users play!

On an RPG that sets game time to acual time.


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#36 2009-11-18 10:02:39

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

chalkmarrow wrote:

5. Appetite suppressant: Read the mediafoodcam tweets; when there's a new one, pull a random image with the keyword "roadkill" and send it to andresmh as a Twitpic  smile

hahaha good one!


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#37 2009-11-20 13:19:04

hsberryman
Scratcher
Registered: 2009-11-20
Posts: 1

Re: Can you think of interesting uses of web data in Scratch?

I was just talking to my 11 year old, an ardent scratch programmer, about this.

Once you open up the ability to do web calls, you open open the language to call any web services. Extensions to scratch are then a matter writing the web services in the language of your choice, or even using existing web services (e.g., twitter).

Here are some of the things we came up with:

1) An aquarium game where the fish behaviors are defined by multiple users, and the fish interact. This was how the conversation started, btw, because there is a system like this at the Boston Museum of Science. My daughters were trying to figure out how to make such a system in scratch.

2) Scratch sprites which are controlled by polling web services. For example, there is web service for from NOAA which returns weather forecasts. You could write a sprite which is dresses appropriately for the weather

3) Cooperative weather reporting where the users at different locales report the weather, and each user would report the weather for their local. All users could get the information from the web service.

#1 and #3 require custom web services, presumably in some language other than scratch. Maybe custom server code for each could be circumvented by have a blackboard service of some sort.

Just thinking out loud.....

Offline

 

#38 2009-11-20 13:34:09

jacool
Scratcher
Registered: 2008-01-25
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

Maybe a function to see the last forum post, or which members that are online in the forums.

And maybe a function that let's Scratch users get data/stats from their own websites.
One way to do this could be to add a certain script to a website which a Scratch project could read.
I'm not very good on explaining things in English, so if you wonder anything feel free to ask.
smile


http://i571.photobucket.com/albums/ss159/JacobKar/svensktiger-1.png

Offline

 

#39 2009-11-23 14:48:24

Reade99
Scratcher
Registered: 2009-11-23
Posts: 1

Re: Can you think of interesting uses of web data in Scratch?

I think that teamed up with the Yahoo! YQL REST services this could be very interesting as you could have a conversation with the avatar on screen.

Ian
(Reade99's dad)

Offline

 

#40 2009-12-05 13:25:54

FantasyTales
Scratcher
Registered: 2008-06-02
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

a working scratch os  big_smile   
the ability for a scratch mmorpg to be made on the site that didn't involve scratchers to change their settings turn off their firewalls, or download something new (other then a new version of scratch of course)


http://ageofthefuture.ismywebsite.com/images/dg_sig_2_small.png
http://images.myadoptables.com/adopted/2340.pnghttp://images.myadoptables.com/adopted/2339.png

Offline

 

#41 2009-12-05 14:28:33

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

MMO's are possible right now, but extremely hard, even with Mesh in BYOB 2.0  hmm

Offline

 

#42 2009-12-07 20:10:02

Adam5001
Scratcher
Registered: 2007-08-01
Posts: 16

Re: Can you think of interesting uses of web data in Scratch?

An idea i had was to make something called Scratch Scores. In Scratch's game maker, it would have a checkable Score variable. If it was checked, the game would keep track of the top 10 scores online. When all scripts stop, the game would show the top ten in a list called Scratch Scores. If you were in the top ten, you could choose to be notified if anyone beats you.

Hope you like that idea!


I AM MY OWN FRIEND! :p http://scratch.mit.edu/projects/Adam5001/770533
http://www.adam5001.com/Adam5001.com.png

Offline

 

#43 2009-12-16 17:00:04

waveos
Scratcher
Registered: 2009-08-13
Posts: 16

Re: Can you think of interesting uses of web data in Scratch?

I could make waveOS web with that!!


There are 10 types of people in this world- Those who understand binary, and those who don't! Level up my Doodle!

Offline

 

#44 2009-12-16 20:32:22

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

Maybe a way to save data in the game? Like maybe they create a password which is sent to the server and it saves all the data in it.

That would be really useful.

Offline

 

#45 2009-12-16 20:38:23

cocoanut
Scratcher
Registered: 2007-07-10
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

floatingmagictree wrote:

Maybe a way to save data in the game? Like maybe they create a password which is sent to the server and it saves all the data in it.

That would be really useful.

But then it would only save online, which is where most games are really laggy.


http://i42.tinypic.com/20gyvif.jpgPlease leave a message at the beep.
Steam: Hellephant

Offline

 

#46 2009-12-17 19:43:19

LoveJill
Scratcher
Registered: 2009-12-17
Posts: 1

Re: Can you think of interesting uses of web data in Scratch?

Hi, the Billboard and Youtube project you metioned sounds like a mashup to me. There are tons of mashup projects out there that combine data in numerous ways. For example, you may find interesting one from mashup award (http://mashupawards.com/winners/) and Yahoo!Pipes' user shared repository (http://pipes.yahoo.com/pipes/pipes.popular). Those might give you some ideas. Just a thought :-)

andresmh wrote:

We are brainstorming about possibilities for using Scratch to read and write data to the web.

Some examples of data that would be nice if Scratch could read from the web as variables or lists are:
- Sport information (scores, baseball stats, etc) from sites like espn.com
- Weather information from sites like weather.com (temperature in a city, rain, etc)
- Movies information from sites like imdb.com
- Music information (lyrics, songs, musicians)  from sites like last.fm
- Social information from sites like Facebook, Twitter (updates, photos of friends, etc)
- Scratch website info like loveits on a project, friends, comments, etc

What others?

Some of examples of data that would be nice if Scratch could save on the web are:
- Results from a survey
- Scores of Scratch game
- After playing a game maybe it could update the player's Twitter/Facebook status to tell others about it.

So what kind of projects would people be able to make with this?

One example could be a project that access data from Billboard.com, and identify  which song has jumped the most number of spots on the sales charts from week-to-week. And then  searches YouTube for a video of each fast-rising performer and inserts the video into the Scratch project alongside the performer’s name.

Another one could be a game that uses the baseball player who has gotten the highest scores with data from ESPN.com on the latest baseball scores.

Another example could be a Scratch project that keeps tracks  of  the members of the Scratch community who have contributed the most comments to your projects projects.  The project could show  the avatars of the Scratch community members who have contributed the most comments, and continually adjusts the sizes of the avatars based on the number of comments they have contributed. Whenever
someone adds a comment to one of her Scratch projects and increases the size of the
appropriate avatar in her visualization.

What other examples can you think of?

Thanks for your ideas!

Last edited by LoveJill (2009-12-17 19:44:20)

Offline

 

#47 2010-01-03 09:54:51

coolperson
Scratcher
Registered: 2007-08-21
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

I need these type of blocks for my ipod touch game. Here are some others:
-Posting highscores online, if a scratcher has their own site (Which I beileve many do.)
-To find the time from an atomic clock, such as www.timeanddate.com
-To get stock reports from a site like finance.yahoo.com
-To check email
-To browse and bid on ebay or amazon
-I could think of a million others if I had the time, but I need to see other topics too.


Coolperson- 2012 National Vex Robotics Finalist!
http://www.scratch.mit.edu/ext/youtube/?v=sn7p84DQFyk

Offline

 

#48 2010-01-10 08:41:39

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

[Webbrowser frame x() to x() and y() to() with URL()]

Offline

 

#49 2010-01-10 08:49:28

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

I would love this to happen, but it might lead to the report button needing to be used more often.


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#50 2010-01-10 10:07:40

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Can you think of interesting uses of web data in Scratch?

1. A mmo, like epic pet wars (not really mmo but you can fight other players while they're computer controlled)
2. Recording wins/losses etc for a point system on a site.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

Board footer