Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » ITopic: 5 Easy Steps to Becoming a Better Programmer
- kittykreate8
- Scratcher
3 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
Im new so this is very helpful.
when I receive [ this message]
say [Great tips!] for (2) secs
Last edited by kittykreate8 (May 7, 2017 13:37:02)
- ThreadSnake
- Scratcher
7 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
Ho do I make clones receive the tick message, but then acting sperately?
when I start as a clone
if <(Object Type) = 0]> then
SmartClone.RunTree (Object#)
else
if <(Object Type) = 1]> then
SmartClone.RunBush (Object#)
else
SmartClone.RunStone (Object#)
end
Last edited by ThreadSnake (June 1, 2017 02:16:18)
- A_Bluebird
- Scratcher
100+ posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
Great tips
Hey, I'm @A_Bluebird! Visit my profile here: https://scratch.mit.edu/users/A_Bluebird/
- DrChicken24
- Scratcher
1000+ posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
Nice! Since this was from 2015, I guess im not going to report it to be stickied…?
- MacaylaMarvelous81
- Scratcher
42 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
thanks!!
when green flag clicked
forever
Scratch on!
end
define Scratch on!
Scratch party!
say [This party will never end!]
- Noob4Life101
- Scratcher
7 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
https://scratch.mit.edu/users/Sigton/ What is that supposed to be?
- Sigton
- Scratcher
1000+ posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
https://scratch.mit.edu/users/Sigton/ What is that supposed to be?That's a link to my profile?
Sigton
- -ShadowOfTheFuture-
- Scratcher
1000+ posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
Great guide!
<Insert uncreative signature here>
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
███ ███ ██ ████ ██ ███ ███
█████████ █████ █████ █████████
“Though the seasons come and go, and sunshine turns to snow, we will always have tomorrow up ahead.”
- MastaMajec287
- Scratcher
6 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
yeahh
it was very helpful!
it was very helpful!
when green flag clicked
if <mouse down?> then
change [color v] effect by (25)
say [Thanks Sigton!]
play sound [Xenogenesis v] until done
end
-MastaMajec287 :)
!i!i!i!i tHAnKs fOR reaDING !i!i!i!i
SCRATCH:
when green flag clicked
say [SCRATCH IS AWESOME!!] for (2) secs
forever
turn cw (15) degrees
move (10) steps
change [ color] effect by (1)
stamp
end
JAVASCRIPT:
var message = "Yay Scratch!";
message;
Yay Scratch!
- WHS18JR_Spirit_Of
- Scratcher
11 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
What is the code to calculate fps? I am unsure
- Minismooferz
- Scratcher
49 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
Sigton, could I please get more info on the base script, I'm not exactly sure how it worked, and I have no idea where the “game loop” message came from, or what the “calculate fps” does. Also, for efficient scripting, what are “loops?”
I'm very sorry if answering these questions is of any inconvenience to you, as I'm not even near your level of coding.
I'm very sorry if answering these questions is of any inconvenience to you, as I'm not even near your level of coding.
Last edited by Minismooferz (Nov. 10, 2019 02:19:53)
Life is short, so enjoy the little things, and try not to get too worked up about small mistakes. Life is short, so try to make a positive impact on someone's life. Life isn't long, so try to make the most of it for everyone, including you.
- agalati
- Scratcher
59 posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
fnaf programer
when I receive [ SCARE]
switch costume to [ Freddy1]
repeat (6)
next costume
wait (0.02) secs
end
- qwerty-koifish6810
- Scratcher
1 post
ITopic: 5 Easy Steps to Becoming a Better Programmer
Thanks for the tips!
- Epsilon_3
- Scratcher
500+ posts
ITopic: 5 Easy Steps to Becoming a Better Programmer
Wrong. Borrowing scripts are great ways to start learning and understanding concepts. #1 step to becoming a great programmer: write original code, and lots of it! Don't copy code, don't fork some large existing project, don't translate code from other languages, don't get someone else to write the hard bits for you … just sit down and program from scratch, 4 or 5 hours a day for 10 to 15 years. By the time you're 30 or so you'll be a pretty good programmer! :-)
╭━━━╮╱╱╱╱╱╱╭╮╱╱╱╱╱╱╭━━━╮
┃╭━━╯╱╱╱╱╱╱┃┃╱╱╱╱╱╱┃╭━╮┃
┃╰━━┳━━┳━━┳┫┃╭━━┳━╮╰╯╭╯┃
┃╭━━┫╭╮┃━━╋┫┃┃╭╮┃╭╮┳╮╰╮┃
┃╰━━┫╰╯┣━━┃┃╰┫╰╯┃┃┃┃╰━╯┃
╰━━━┫╭━┻━━┻┻━┻━━┻╯╰┻━━━╯
╱╱╱╱┃┃
╱╱╱╱╰╯
- Discussion Forums
- » Help with Scripts
- » ITopic: 5 Easy Steps to Becoming a Better Programmer