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

#26 2010-09-26 18:09:34

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: JavaScript

I like text based languages. Python is a lot of fun to use and is more powerful that visual languages. I am thinking of learning C, but I want to completely MASTER python first. I am learning how to set up web servers at Built-It-Yourself but haven't started leaning php yet.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#27 2010-09-27 10:50:18

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: JavaScript

bbbeb wrote:

Text based Anything sucks!!  tongue   tongue

Thats my opinion. And also whi I dont do C++ too often.  tongue

well most scripting languages are text based so get used to it!  roll


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#28 2010-09-27 10:51:26

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: JavaScript

midnightleopard wrote:

I like text based languages. Python is a lot of fun to use and is more powerful that visual languages. I am thinking of learning C, but I want to completely MASTER python first. I am learning how to set up web servers at Built-It-Yourself but haven't started leaning php yet.

PHP is easy and very cool!  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#29 2010-09-27 10:53:49

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: JavaScript

nXIII wrote:

Daffy22 wrote:

nXIII wrote:


I don't think you should be Loling at this. Your language has nothing to do with Scratch other than having similar methods. That's like me saying VB is like a newline-delimited C because it has data types.

you don't understand I am making a text based scratch like this:
[move 30 steps]
[if on edge bounce]
ect...
I will base certain parts (like variables) on PHP because I like the PHP syntax.  smile

but what about [set something to something]?
I understand perfectly, it's YOU who doesn't understand!

that will all be part of it. imagine every scratch block and then just image what you would type to show what the block looks like:
(boolean)
[Stack]
<reporter>
^hat^
________________________________
you see, just image every block but in text. as for variables something like this:
[var1=6]
(var1)


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#30 2010-09-27 13:44:22

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

Re: JavaScript

$variable = value

Like in PHP... That would probably better and more... "powerful" or flexibility in programming. It's something I don't like about Python, you can't define a variable in something like:

variable = key_down
pygame.variable

That would give you an error. But if you had:

$variable = key_down
pygame.$variable

Then python would understand that you want to use a variable and not just a word/phrase.

Offline

 

#31 2010-09-27 14:39:13

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

Re: JavaScript

Magnie wrote:

$variable = value

Like in PHP... That would probably better and more... "powerful" or flexibility in programming. It's something I don't like about Python, you can't define a variable in something like:

variable = key_down
pygame.variable

That would give you an error. But if you had:

$variable = key_down
pygame.$variable

Then python would understand that you want to use a variable and not just a word/phrase.

JavaScript does this too with its use of dictionary-like objects, i.e.
var myObject = {
Foo: "..."
};
var property = "Foo";
myObject[property] = "Bar"; //equivalent to myObject.Foo = "Bar";

Last edited by nXIII (2010-09-27 14:39:47)


nXIII

Offline

 

#32 2010-09-27 15:44:42

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

Re: JavaScript

Interesting... That would be very useful, but then it messes my head up... *sighs* It's still complicated to understand it though.  hmm

Offline

 

#33 2010-09-27 15:59:53

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: JavaScript

Yeah you've all got it. Just scratch but with text not blocks!  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#34 2010-09-27 21:48:38

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: JavaScript

how are you making it?
^When flag clicked^
[ask 'How are you doing that? What language?']


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#35 2010-09-27 22:05:08

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: JavaScript

JSO wrote:

...

I can not share stuff but I can tell you there has been made a Scratch-like environment entirely in Javascript and HTML5

Wink wink


Hai.

Offline

 

#36 2010-09-28 02:11:09

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: JavaScript

midnightleopard wrote:

how are you making it?
^When flag clicked^
[ask 'How are you doing that? What language?']

thats not certain yet. something like that though.


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#37 2010-09-28 16:10:05

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: JavaScript

JSO... I know what you are talking about... Design blocks and ModKit.

Design Blocks
and
ModKit

Design blocks is like scratch, but just pen blocks and advanced math operators I think. it is really hard. Modkit controls arduino and is quite helpful!

Last edited by midnightleopard (2010-09-28 16:11:34)


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#38 2010-11-04 20:14:21

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

Re: JavaScript

i luv thAt game 2


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&amp;action=onlineStatus&amp;type=square

Offline

 

#39 2010-11-05 00:32:19

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: JavaScript

Alright, most text based lanuages suck in my opinion.

Python, PHP, C#, and JS dont.  big_smile

And also, a environment like that would be very rough to make, especially presentation mode.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#40 2010-11-05 03:46:20

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: JavaScript

bbbeb wrote:

Text based Anything sucks!!  tongue   tongue

Thats my opinion. And also whi I dont do C++ too often.  tongue

tough luck bbbed! Most languages are text based!  tongue


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#41 2010-11-05 11:27:11

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: JavaScript

Daffy22 wrote:

bbbeb wrote:

Text based Anything sucks!!  tongue   tongue

Thats my opinion. And also whi I dont do C++ too often.  tongue

tough luck bbbed! Most languages are text based!  tongue

I know. Which is why I usually do a lot with Visual Basic and Python.  big_smile


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

Board footer