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

#1 2007-11-02 15:06:35

ssant
Scratcher
Registered: 2007-11-02
Posts: 1

I know absolutely nothing about programming

What is the easiest way to learn about programming?? I want to start from the basics and eventually get a job doing programming. Please help

Offline

 

#2 2007-11-02 15:16:32

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

Re: I know absolutely nothing about programming

ssant wrote:

What is the easiest way to learn about programming?? I want to start from the basics and eventually get a job doing programming. Please help

The easiest way to learn programming is to start making simple programs using basic programming commands.  Scratch is pretty good for using the basic concepts of computer programming. It has if statements and variables and every thing you need to make your own little program. If you want to go into text based programming languages the best place to start would be choosing a language to learn.


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

 

#3 2007-11-02 17:23:29

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: I know absolutely nothing about programming

Scratch is one of the best places to start learning programming.

Unfortuantely, there are no books yet to take you through the language a little at a time, though there are some tutorials and other advice on

http://scratch.mit.edu/pages/educators

I moved this topic from "Advanced Topics" to "All about Scratch".

Offline

 

#4 2007-11-10 22:53:30

music_man
Scratcher
Registered: 2007-09-22
Posts: 100+

Re: I know absolutely nothing about programming

Here is a simple script to make your sprite move:

<when green flag clicked>
<forever>
<if>  <key[  right arrow  ]pressed?>
<change x by(  5
<end>
<if>  <key[  left arrow  ]pressed?>
<change x by(  -5
<end>
<end>


The fool has said in his heart, "There is no God."...  Psalms 14:1

Offline

 

#5 2007-11-11 07:26:15

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: I know absolutely nothing about programming

My first project was a simple animation. You can make one.  smile


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#6 2007-11-11 12:24:07

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: I know absolutely nothing about programming

music_man's script will work, but it may make the sprite move too fast when the key is pressed.  You probably want a
[blocks]
<wait( 0.05 )secsc>
[/blocks]
in the loop.

Offline

 

#7 2007-11-12 10:08:40

music_man
Scratcher
Registered: 2007-09-22
Posts: 100+

Re: I know absolutely nothing about programming

Mine dose not make it go to fast.  I have tried it before it it goes at a nice speed.  Or change x by 2


The fool has said in his heart, "There is no God."...  Psalms 14:1

Offline

 

#8 2007-11-12 15:54:20

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: I know absolutely nothing about programming

Without the wait, the speed depends very much on what else is running at the same time and on how fast the computer is.

It is best to have the animations work the same on all sufficiently fast computers.

Offline

 

#9 2007-11-14 17:58:03

ringin
Scratcher
Registered: 2007-10-02
Posts: 4

Re: I know absolutely nothing about programming

I didn't know anything about programming either..but Scratch is an easy way to get your feet wet.

Offline

 

#10 2007-11-21 04:33:36

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: I know absolutely nothing about programming

These is one of the most simple ways to make your sprite do stuff.

<when[ space ]key pressed>
<play sound[ pop

<when[ left arrow ]key pressed>
<point in direction( -90
<move( 10 )steps>

<when[ right arrow ]key pressed>
<point in direction( 90
<move( 10 )steps>

2 ways to make the sprite go to your pointer

<when green flag clicked>
<forever>
<go to x sad  <mouse x> )y sad  <mouse y>
<end>

<when green flag clicked>
<forever>
<go to[ mouse-pointer
<end>


~ihaveamac - visit ihaveamac.net

Offline

 

#11 2007-11-23 09:35:34

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: I know absolutely nothing about programming

actually you would have to do

[blocks] <when[ left arrow ]key pressed>
<move( -10 )steps>

to make a sprite go left. if you use the block
<point in direction( -90
it will go upside down [/blocks]

Last edited by funkymonkey (2007-11-23 09:37:43)


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

Board footer