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

#1 2012-01-18 14:47:23

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Scratch Mod for OS

I want to make an OS, but I want to know what would be the best mod to use for it. Here's what I want.

Note: some of these may not be possible in squeak!


Able to make a web browser
Right Click when in presentation mode
Mesh
Multiplayer Blocks
Clone Sprite Blocks
Paint Editor Block
System Time, or Internet Time

Also, if there are any other features that would be nice in an OS, let me know.


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#2 2012-01-18 16:11:23

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Scratch Mod for OS

elfin8er wrote:

I want to make an OS, but I want to know what would be the best mod to use for it. Here's what I want.

Note: some of these may not be possible in squeak!


Able to make a web browser
Right Click when in presentation mode
Mesh
Multiplayer Blocks
Clone Sprite Blocks
Paint Editor Block
System Time, or Internet Time

Also, if there are any other features that would be nice in an OS, let me know.

Panther.
You can do almost anything in it.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#3 2012-01-18 16:14:34

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

SJRCS_011 wrote:

elfin8er wrote:

I want to make an OS, but I want to know what would be the best mod to use for it. Here's what I want.

Note: some of these may not be possible in squeak!


Able to make a web browser
Right Click when in presentation mode
Mesh
Multiplayer Blocks
Clone Sprite Blocks
Paint Editor Block
System Time, or Internet Time

Also, if there are any other features that would be nice in an OS, let me know.

Panther.
You can do almost anything in it.

Yeah, that's my favorite, but I don't know how to make a web browser. Could you show me a tutorial if this is possible?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#4 2012-01-18 16:30:04

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

Re: Scratch Mod for OS

You could always use the 'get contents at url' block, which retrieves a document from the web. You could then write an HTML/XML parser to extract the data.


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

Offline

 

#5 2012-01-18 16:43:05

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

bobbybee wrote:

You could always use the 'get contents at url' block, which retrieves a document from the web. You could then write an HTML/XML parser to extract the data.

I'm not that good with XML D: Any templates or anything?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#6 2012-01-18 17:04:35

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

Re: Scratch Mod for OS

Read up on some HTML. You'll need it  smile


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

Offline

 

#7 2012-01-18 17:13:04

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

bobbybee wrote:

Read up on some HTML. You'll need it  smile

I know a pretty good amount of HTML, just not XML.


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#8 2012-01-18 17:45:59

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

Re: Scratch Mod for OS

In that case I'll quickly teach you XML. After all, HTML is an implementation of XML.

Code:

<xml>
<body>
<element>hfjkl</element>
</body>
</xml>

This would be a stripped down HTML document, perhaps in an xml-like notation. A tag in HTML is an element in XML. The only difference is that in HTML you have to do everything as the HTML specifications say to do it, but XML can be done for just about any purpose, and the specifications are limited.

Hope this helps,
-bobbybee


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

Offline

 

#9 2012-01-18 17:59:12

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

bobbybee wrote:

In that case I'll quickly teach you XML. After all, HTML is an implementation of XML.

Code:

<xml>
<body>
<element>hfjkl</element>
</body>
</xml>

This would be a stripped down HTML document, perhaps in an xml-like notation. A tag in HTML is an element in XML. The only difference is that in HTML you have to do everything as the HTML specifications say to do it, but XML can be done for just about any purpose, and the specifications are limited.

Hope this helps,
-bobbybee

That's just like HTML, but the tags are just different  big_smile  So, how do I use this to make a web browser in Panther?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#10 2012-01-18 18:05:20

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Mod for OS

bobbybee wrote:

In that case I'll quickly teach you XML. After all, HTML is an implementation of XML.

HTML was originally an extension of SGML, and is not XML. XHTML is a specification of HTML which uses XML.


nXIII

Offline

 

#11 2012-01-18 18:07:51

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: Scratch Mod for OS

Mine.

Last edited by nickbrickmaster (2012-01-18 18:08:16)


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#12 2012-01-18 18:10:00

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

Do you know how I can use XML to make a web browser in Panther? If not, is there any way I can make a web browser in Panther?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#13 2012-01-18 18:23:04

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

nickbrickmaster wrote:

wiki.scratch.mit.edu/wiki/Konnected_(Scratch_Modification)

Do you have a beta version?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#14 2012-01-18 18:37:36

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Scratch Mod for OS

elfin8er wrote:

I want to make an OS, but I want to know what would be the best mod to use for it. Here's what I want.

Note: some of these may not be possible in Scratch!


Able to make a web browser
Right Click when in presentation mode
Mesh
Multiplayer Blocks
Clone Sprite Blocks
Paint Editor Block
System Time, or Internet Time

Also, if there are any other features that would be nice in an OS, let me know.

Sorry, just couldn't help myself... xP

Anyway, I'm afraid I can't post anything of use other than that lol


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#15 2012-01-18 18:41:40

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

Jwosty wrote:

elfin8er wrote:

I want to make an OS, but I want to know what would be the best mod to use for it. Here's what I want.

Note: some of these may not be possible in Scratch!


Able to make a web browser
Right Click when in presentation mode
Mesh
Multiplayer Blocks
Clone Sprite Blocks
Paint Editor Block
System Time, or Internet Time

Also, if there are any other features that would be nice in an OS, let me know.

Sorry, just couldn't help myself... xP

Anyway, I'm afraid I can't post anything of use other than that lol

No, I meant squeak. I said squeak because mods have to be programmed in squeak, so I was saying that it may not be possible to make a mod with all of those things I listed. The only one I wasn't sure of was the web browser, but I'm finding out that it is possible.

Stupid 180 rule! I can't wait until I'm a scratcher again  big_smile


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#16 2012-01-18 18:55:18

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

Re: Scratch Mod for OS

So, elfin8er, all you need to do is understand HTML and use the = block to check strings and such.


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

Offline

 

#17 2012-01-18 19:11:31

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

bobbybee wrote:

So, elfin8er, all you need to do is understand HTML and use the = block to check strings and such.

I think I see. I'd pretty much be recoding HTML and XML in scratch, and teaching scratch what to do with what it finds. Hmm. How could it show pictures though? Is there anything that could do that? Also, would it be possible to show Java (Scratch Projects) using this as well?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#18 2012-01-18 21:06:19

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Scratch Mod for OS

bobbybee wrote:

So, elfin8er, all you need to do is understand HTML and use the = block to check strings and such.

And ways to edit the text on te screen.
Though POST actions wouldn't work.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#19 2012-01-18 21:43:52

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: Scratch Mod for OS

elfin8er wrote:

nickbrickmaster wrote:

wiki.scratch.mit.edu/wiki/Konnected_(Scratch_Modification)

Do you have a beta version?

I have no version released yet.


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#20 2012-01-18 21:45:37

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

SJRCS_011 wrote:

bobbybee wrote:

So, elfin8er, all you need to do is understand HTML and use the = block to check strings and such.

And ways to edit the text on te screen.
Though POST actions wouldn't work.

I was thinking that to. First I was thinking of using a list, but would look REALLY bad. I guess I'd have to have costumes with every letter, in uppercase, and lowercase, including numbers ect. and then have them stamp where needed. That would be really annoying though.


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#21 2012-01-20 06:42:13

poemon1
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Scratch Mod for OS

elfin8er wrote:

bobbybee wrote:

Read up on some HTML. You'll need it  smile

I know a pretty good amount of HTML, just not XML.

I'll teach u:

Code:

 
line 1 =<?xml version="1.0" encoding="ISO-8859-1"?>
line 2 =<your_tag_ROOT>
line 3=<your_tag_TITLE> your title </your_tag_TITLE>
line 4=<body> your body (not really. . . just a aragraph in witch tells you your story/webpage </body> 
line 5=</your_tag_ROOT>

That makes a XML doc that looks like this:

Code:

  <?xml version="1.0" encoding="ISO-8859-1" ?> 
- <your_tag_ROOT>
  <your_tag_TITLE>your title</your_tag_TITLE> 
  <body>your body (not really. . . just a aragraph in witch tells you your story/webpage</body> 
  </your_tag_ROOT>

Code:

The code when the minus sign is clicked:
  <?xml version="1.0" encoding="ISO-8859-1" ?> 
+ <your_tag_ROOT>

http://i47.tinypic.com/rrqe13.gif

Offline

 

#22 2012-01-20 09:17:09

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

Ok, but how do I use this to MAKE a web browser in panther?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#23 2012-01-20 10:23:18

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

Re: Scratch Mod for OS

You use knowledge of HTML and XML to parse a webpage and then make it display the text of the webpage. There is a block in the library that you can use to stamp text on the stage.

Offline

 

#24 2012-01-20 10:55:41

elfin8er
Scratcher
Registered: 2012-01-15
Posts: 1000+

Re: Scratch Mod for OS

Oh, OK. Didn't you and sparks try this a while ago?


http://i1340.photobucket.com/albums/o723/stevetheipad/goldlittlesig.png

Offline

 

#25 2012-01-20 13:01:17

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

Re: Scratch Mod for OS

elfin8er wrote:

Oh, OK. Didn't you and sparks try this a while ago?

Yeah, we tried. I don't remember how far we've gotten but it's really complicated and slow.

Offline

 

Board footer