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
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
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
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
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
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.
Offline
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
Dude, visual basic is not close to scratch. It pretty much makes popup windows.
Offline
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
Last edited by archmage (2008-09-30 13:56:59)
Offline
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
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
--------------------------


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