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

#1 2008-09-24 15:52:52

SeanCanoodle
Scratcher
Registered: 2008-06-20
Posts: 100+

Further programming ventures

I'm really looking to start up with new programming languages and I figure Python would be a great start. Right now I'm trying to make a Scratch project that will ping a python script on a geocities (or whatever) website, then set a state to 1 to tell the Scratch project that it recieved the ping, then display the time it took to recieve using the built in Scratch timer. I have a few questions for whomever would like to answer them.

Is it possible to embed Python scripts to a webpage that Scratch will connect to, either in the Java player or the Scratch program?

If that is possible, how many values does Scratch recieve? I'm looking to eventually make my Mini Tanks game multiplayer (all processing done by the server, changing X and Y, bullet positions etc).

Is Python the right scripting to move on to for me? I'm thinking of using BASIC too, just as a hobby and an excuse to take my Commodore 64c out of the box (It's older than me!).

Could anyone direct me to some good tutorial websites for Python? I want it to tell me how things work, not just what they do.

I checked out the Scratch Connections Wiki and found it so-so helpful. I intend to stay on Scratch for a long while, just as a hobby, but I'd like to know more languages for a possible career. End long post.... Now.

Offline

 

#2 2008-09-24 17:17:50

chalkmarrow
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: Further programming ventures

Seancanoodle:

Wow. I wish I still had my C64. In any event, I don't know much about your question re embedding Python (though you could certainly do a lot on the server side with python), but I would recommend playing around with one or all of:

Python
Lots of good tutorials out there. I like this one:
http://www.sthurlow.com/python/
If you don't like the Idle IDE that comes with it, download the free Activestate distribution at
http://www.activestate.com/Products/activepython/index.mhtml
which has a nice IDE for Windows

Ruby
A real cool, modern scripting language, which you can test out in an online tutorial:
http://www.ruby-lang.org/en/

Processing
Really a form of Java, so you can painlessly learn Java, plus it's also a MIT creation and is really good for interactive art.
http://processing.org/

Java
What can I say. It's Java. Always a learning curve, but Sun's tutorial is ok:
http://java.sun.com/docs/books/tutorial/
If you want to jump right in, you can probably within an hour or so create a working Java app for the new Google Android OS:
http://code.google.com/android/devel/index.html

Last edited by chalkmarrow (2008-09-24 17:22:28)

Offline

 

#3 2008-09-24 18:06:03

SeanCanoodle
Scratcher
Registered: 2008-06-20
Posts: 100+

Re: Further programming ventures

Wow! Great links! I've started the Python one and love it because it explains how things work and let's you see what happens when you do things wrong. I'm using IDLE, it's nice and clean and lets me see what's going on with the handy colours. Thanks a bunch for all the suggestions.

Offline

 

#4 2008-09-24 20:28:48

chalkmarrow
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: Further programming ventures

SeanCanoodle wrote:

Wow! Great links! I've started the Python one and love it because it explains how things work and let's you see what happens when you do things wrong. I'm using IDLE, it's nice and clean and lets me see what's going on with the handy colours. Thanks a bunch for all the suggestions.

Cool. When you get something cool up and running for interfacing with scratch, make sure you keep everyone in the loop and maybe post your source code. Remember, release early and often...

Offline

 

#5 2008-09-25 12:46:19

adityasm9
Scratcher
Registered: 2008-03-12
Posts: 100+

Re: Further programming ventures

Amazing links, i am learning C and C++  this seems good although i'm learning from a book http://newdata.box.sk/bx/c/

Offline

 

#6 2008-09-29 20:05:05

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Further programming ventures

I'm going to start to learn python...

Offline

 

#7 2008-09-29 20:23:18

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: Further programming ventures

How do i get python?

Offline

 

#8 2008-09-29 20:36:09

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: Further programming ventures

keroro645 wrote:

How do i get python?

(sorry for spamming)
Kerkoro645! Stop Spamming my projects please! I will never post that mario kart game if you do that! not to be angry, but don't post/delete comments you made, just to tick people off, and don't post tags like "kerokoro645 was here" please don't.


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#9 2008-09-29 20:49:32

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Further programming ventures

keroro645 wrote:

How do i get python?

http://www.python.org/


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#10 2008-09-29 22:32:49

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: Further programming ventures

i dont know which one to download.On python

Offline

 

#11 2008-09-30 12:40:37

SeanCanoodle
Scratcher
Registered: 2008-06-20
Posts: 100+

Re: Further programming ventures

Download the most stable version (currently 2.5) for whichever operating system your computer uses. I use the IDLE shell that comes packed with the windows download and it works fine for me. If you use a macintosh computer Python comes built in. Typing python into the search bar should find it for you.

If you want something similar to Scratch, Visual Basic is probably the best you can get. I don't know much about it so if you have trouble with Python do some research. Normal BASIC is used in most old computers (1980's early 1990's) and is extremely easy to use.

Offline

 

#12 2008-09-30 13:48:26

Bobby500
Scratcher
Registered: 2008-04-19
Posts: 1000+

Re: Further programming ventures

Dude, visual basic is not close to scratch. It pretty much makes popup windows.

Offline

 

#13 2008-09-30 13:56:37

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Further programming ventures

In my personal opinion actionscript is the closest language to scratch.

This quote is from wikipedia's article on scratch.

"The language is more similar to animation languages like Flash ActionScript than to traditional programming languages."

Even wikipedia agrees with me  tongue

Last edited by archmage (2008-09-30 13:56:59)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#14 2008-09-30 15:08:13

SeanCanoodle
Scratcher
Registered: 2008-06-20
Posts: 100+

Re: Further programming ventures

Ah, well as I said, I don't know much about visual basic. I will learn actionscript though, just to build my website later on.

Offline

 

#15 2008-11-01 21:17:52

gadgetman
Scratcher
Registered: 2008-06-26
Posts: 70

Re: Further programming ventures

SeanCanoodle wrote:

I'm really looking to start up with new programming languages and I figure Python would be a great start. Right now I'm trying to make a Scratch project that will ping a python script on a geocities (or whatever) website, then set a state to 1 to tell the Scratch project that it recieved the ping, then display the time it took to recieve using the built in Scratch timer. I have a few questions for whomever would like to answer them.

Is it possible to embed Python scripts to a webpage that Scratch will connect to, either in the Java player or the Scratch program?

If that is possible, how many values does Scratch recieve? I'm looking to eventually make my Mini Tanks game multiplayer (all processing done by the server, changing X and Y, bullet positions etc).

Is Python the right scripting to move on to for me? I'm thinking of using BASIC too, just as a hobby and an excuse to take my Commodore 64c out of the box (It's older than me!).

Could anyone direct me to some good tutorial websites for Python? I want it to tell me how things work, not just what they do.

I checked out the Scratch Connections Wiki and found it so-so helpful. I intend to stay on Scratch for a long while, just as a hobby, but I'd like to know more languages for a possible career. End long post.... Now.

http://scratchconnections.wik.is/
would this help
--------------------------
http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Last edited by gadgetman (2008-12-21 13:20:50)


http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Offline

 

Board footer