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

#1 2012-01-27 19:39:20

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

List of Helpful Topics for Scripting

Here are some helpful topics in scripting.
If you feel like there's something that should be here, but isn't, then suggest it.

Wiki Links

Scripting Tutorials
    A nice little collection of scripting tutorials written by experienced scratchers
Drawing&Animation
    A few tutorials on how to improve the look of your projects
_________________________________________________________________________________

Basic Topics

Arrow key control of a sprite
    A tutorial showing basic movement for a simple game
Jumping
   Try to find a good platformer were you stay on the ground the whole time (you won't)
Velocity
    A little more advanced way of movement that makes your projects look and feel better
Basic Gravity
    It's a universal law, you ought to know how to code it
Moving Objects in Scrolling Games
    Good for enemies and moving platforms in scrollers
Moving with Sensor Sprites
    How to make walls solid
Scrolling with Enemies
    A little different take on Moving Objects in Scrollers
Toggle Switch
    On/Off/Superposition
Bouncing script
    So your basketball doesn't stay on the ground
Timers
    Good for timing stuff
__________________________________________________________________________________

More Advanced Topics

Stamping Score
    When you get tired of orange variables.
Tips for Making a Better Project
    Doesn't everyone want a better project?
Advanced Sensors
    Sensors that don't glitch.
Wall Jumping
   Good wall jumping like in Ninja Roy
Advanced AI
    I little more complex than follow [sprite one v]
List Of Characters
    Iterates thru a list of letters
3D Illusion
    3D games
How to make a Screensaver!(windows only)
    Pretty cool to try, a little confusing though.
1 Sprite 1 Script
    Defy conformity
Testing For String/Number
    I mean, you just can't add 2 to A
__________________________________________________________________________________

References

The Scrationary
    The almighty dictionary of everything scratch!
Tips for Making a Better Project
    Just listing it again, some people need to see it
Optimizing Your Projects
   Optimizing means making it faster
Efficient Programming
   Efficient means faster too.
Scratch Wiki
    The Wiki. simple as that
Scratch Resources
    Nobody knows about this site, but it's pretty awesome.

Last edited by hello12345678910 (2012-02-25 17:26:33)


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#2 2012-01-27 20:31:02

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

Re: List of Helpful Topics for Scripting

http://scratch.mit.edu/forums/viewtopic … 6#p1114636 has a basic "toggle switch".

http://scratch.mit.edu/forums/viewtopic … 9#p1114679 has a bouncing script.

Thanks for posting mine.  tongue

Last edited by Magnie (2012-01-27 20:34:16)

Offline

 

#3 2012-01-28 11:40:10

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

Magnie wrote:

http://scratch.mit.edu/forums/viewtopic … 6#p1114636 has a basic "toggle switch".

http://scratch.mit.edu/forums/viewtopic … 9#p1114679 has a bouncing script.

Thanks for posting mine.  tongue

Ur welcom  tongue


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#4 2012-01-28 11:55:24

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

Re: List of Helpful Topics for Scripting

JSO's Toggle Switch might be better: http://scratch.mit.edu/forums/viewtopic … 0#p1115130

Offline

 

#5 2012-01-28 12:13:11

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

Magnie wrote:

JSO's Toggle Switch might be better: http://scratch.mit.edu/forums/viewtopic … 0#p1115130

K
Edit: replaced it with a combo of JSO and Keilymaster's ideas ( links to my post  tongue )

Last edited by hello12345678910 (2012-01-28 12:20:13)


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#6 2012-01-29 11:46:26

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

Bump- also changed all links to bit.ly links


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#7 2012-01-29 11:58:44

mattlai2
Scratcher
Registered: 2011-12-06
Posts: 100+

Re: List of Helpful Topics for Scripting

hello12345678910 wrote:

Bump- also changed all links to bit.ly links

But why?

Offline

 

#8 2012-01-29 12:11:56

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

mattlai2 wrote:

hello12345678910 wrote:

Bump- also changed all links to bit.ly links

But why?

Because I know how many times the links are clicked.
And theyre much shorter.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#9 2012-01-30 16:12:45

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

Seriously? It's a sticky? Thanks a ton, ST!!!


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#10 2012-01-30 16:15:11

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: List of Helpful Topics for Scripting

Congrats on getting it stickied  tongue


Why

Offline

 

#11 2012-01-30 18:42:09

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

RedRocker227 wrote:

Congrats on getting it stickied  tongue

Wow, I wasn't even expecting it. Thanks a ton.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#12 2012-01-30 19:45:36

teotwawki
Scratcher
Registered: 2011-07-06
Posts: 21

Re: List of Helpful Topics for Scripting

hello

Offline

 

#13 2012-01-31 00:20:36

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

Re: List of Helpful Topics for Scripting

teotwawki wrote:

hello

Hello and welcome to the forums! I suggest introducing yourself in the New Scratchers' forum. You are more likely to get helpful tips for starting out in the forums there than here!  big_smile

Also, back on topic, I think we should find a whole bunch of commonly used scripts and make them. Then we can discuss on how to make the script more efficient and simpler to use. For example, the toggle switch. I gave a version of it, then JSO gave a smaller and more efficient version of the switch too.

Last edited by Magnie (2012-01-31 00:31:32)

Offline

 

#14 2012-01-31 16:01:53

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: List of Helpful Topics for Scripting

teotwawki wrote:

hello

That's considered spam. It has no purpose, and is not helping in any way.


Why

Offline

 

#15 2012-01-31 19:42:33

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

RedRocker227 wrote:

teotwawki wrote:

hello

That's considered spam. It has no purpose, and is not helping in any way.

Agreed.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#16 2012-01-31 19:50:39

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

Magnie wrote:

Also, back on topic, I think we should find a whole bunch of commonly used scripts and make them. Then we can discuss on how to make the script more efficient and simpler to use. For example, the toggle switch. I gave a version of it, then JSO gave a smaller and more efficient version of the switch too.

Like put the pics of the scripts on this page? I was kind of thinking of that. That would also make it harder to navigate, though.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#17 2012-01-31 21:07:02

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

Re: List of Helpful Topics for Scripting

hello12345678910 wrote:

Magnie wrote:

Also, back on topic, I think we should find a whole bunch of commonly used scripts and make them. Then we can discuss on how to make the script more efficient and simpler to use. For example, the toggle switch. I gave a version of it, then JSO gave a smaller and more efficient version of the switch too.

Like put the pics of the scripts on this page? I was kind of thinking of that. That would also make it harder to navigate, though.

Well, maybe make separate "tutorials" on how to script certain things and each script is in a separate post.

Though I was meaning, we should also discuss specific scripts and make them better and more efficient, I was using the Toggle Switch as an example, where I posted one, then JSO posted a better one.

So we think up a script, we improve it to it's maximum, then we link to the improved script from the main post. It wouldn't make it any harder to navigate since it's what we've been doing already.

Offline

 

#18 2012-02-01 06:55:51

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

Magnie wrote:

hello12345678910 wrote:

Magnie wrote:

Also, back on topic, I think we should find a whole bunch of commonly used scripts and make them. Then we can discuss on how to make the script more efficient and simpler to use. For example, the toggle switch. I gave a version of it, then JSO gave a smaller and more efficient version of the switch too.

Like put the pics of the scripts on this page? I was kind of thinking of that. That would also make it harder to navigate, though.

Well, maybe make separate "tutorials" on how to script certain things and each script is in a separate post.

Though I was meaning, we should also discuss specific scripts and make them better and more efficient, I was using the Toggle Switch as an example, where I posted one, then JSO posted a better one.

So we think up a script, we improve it to it's maximum, then we link to the improved script from the main post. It wouldn't make it any harder to navigate since it's what we've been doing already.

okay. how bout one page of tutorials, and replace the links up top to posts down here? That works.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#19 2012-02-02 07:49:04

Borrego6165
Scratcher
Registered: 2011-03-10
Posts: 1000+

Re: List of Helpful Topics for Scripting

would this be helpful?


Generation:4001 Build a beautiful city, with over 50 objects and over 10000 tiles per city! This simulates traffic, pollution, tourism, crime and more!

Offline

 

#20 2012-02-02 17:45:28

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

Borrego6165 wrote:

would this be helpful?

Yes it actually is. I added it under 'References'
It's  entitled 'Optimizing Your Projects'

Last edited by hello12345678910 (2012-02-02 17:48:27)


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#21 2012-02-02 17:53:13

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

Re: List of Helpful Topics for Scripting

http://scratch.mit.edu/forums/viewtopic.php?id=88611 might be a good post for optimizing projects too.

Offline

 

#22 2012-02-08 15:45:27

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

Re: List of Helpful Topics for Scripting

Offline

 

#23 2012-02-11 18:40:45

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

Re: List of Helpful Topics for Scripting

Sonicfan03: Could you explain the use of those scripts?  smile

Offline

 

#24 2012-02-11 22:17:42

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: List of Helpful Topics for Scripting

1000 page views!!


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#25 2012-02-14 10:28:00

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

Re: List of Helpful Topics for Scripting

http://scratch.mit.edu/forums/viewtopic … 8#p1137338 is a simple clock/timer with variables that stops after 120 seconds.

Last edited by Magnie (2012-02-14 10:28:47)

Offline

 

Board footer