Discuss Scratch

tali1665
Scratcher
100+ posts

(MOVED) A guide to scripts

Here's a guide to scripts and some misconceptions.
1: If the
if<>then 
block does not work, it's because it doesn't repeatedly check for conditions. If it did, it wouldn't have a bump on the bottom. All you need to do for it to work is just simply put it in a
forever
loop or use Scratch 1.4. That's because Scratch 1.4 (and every 1.x version) has the
forever if <> ::control
block. In 2.0, this is replaced with the
forever
if <> then
workaround.
2: The Disappearing Text Bug was not introduced in Scratch 1.3. It was first documented in 1.3, but it was also reported by users using older versions (e.g. Scratch 1.0.1), thereby falsifying this myth.
The Disappearing Text Bug does not always occur when the Squeak memory runs low. This was based on a survey on 20 people who have experienced the bug. A closer look reveals that the reported appearance of the bug with certain events reveals that 80% of the reported arrivals of the bug with other events were most likely coincidences.
3: Weekend was not the first project ever.
4: Here's an animation script:
 when green flag clicked
forever
wait (0.05) secs
next costume
Here's another one:
 when green flag clicked
forever
wait (0.03) secs
next costume
5 : For scrolling, make sure you have a
 (scrollx) 
variable and use this script:
when green flag clicked
forever
set x to ((scrollx) + (500)
end
that was all the information I could give out. goodbye and have a good day!

Last edited by tali1665 (Feb. 7, 2018 19:21:24)


when green flag clicked
100 posts!
forever
change [excitement v] by (1)
end
60 posts achieved on July 1st, 2017, 11:52 AM.
100 posts achieved on December 18th, 2017, 9:51 AM.
tali1665 has 1 internet. to give an internet, click here.
asqwde
Scratcher
1000+ posts

(MOVED) A guide to scripts

I like ot
YubNubEwok
Scratcher
1000+ posts

(MOVED) A guide to scripts

Awesome guide! Although, I'm not sure if this is the best place, and if it was moved to Help With Scripts, I think this would be too specific.

Hello! I'mYubNubEwok!
YubNubEwok | Star Wars Nerd | Marvel Fan | Hunger Games Fan | #1 Wisconsin cheese Fan | Female | Christian | Webkinz user/collector | 2000+ posts | Philippians 4:13, Colossians 3:23 |
-Stuff to check out-
TheJediMasters
Ⓒⓡⓔⓐⓣⓘⓥⓔ Bᴜᴍᴘs
Right now I challenge you to: go to my profile, follow me, and check out my featured project (it's important!)

;
tali1665
Scratcher
100+ posts

(MOVED) A guide to scripts

YubNubEwok wrote:

Awesome guide! Although, I'm not sure if this is the best place, and if it was moved to Help With Scripts, I think this would be too specific.
it was moved from Help with Scripts.

when green flag clicked
100 posts!
forever
change [excitement v] by (1)
end
60 posts achieved on July 1st, 2017, 11:52 AM.
100 posts achieved on December 18th, 2017, 9:51 AM.
tali1665 has 1 internet. to give an internet, click here.

Powered by DjangoBB