Discuss Scratch
- Discussion Forums
- » Announcements
- » Scratch Video Update: Episode 14
- neonorangecat
-
Scratcher
4 posts
Scratch Video Update: Episode 14
i love cats. if you like cats check my contest!! its my featured project so you'll
find it on my profile.
find it on my profile.
- KlaskyCsupojr
-
Scratcher
87 posts
Scratch Video Update: Episode 14
when green flag clicked
forever
think [Hmm...] for (2) secs
I love cats too..
Listen to the meow mix song and it will get stuck in your head ..
sing it around people and see how many people you pass it on to.. Lol
Its pretty funny


when this sprite clicked..
repeat (10)
show
set pen color to [#69b578]
Its pretty cool … hahahahahahahahhahahahahahha





Btw.. this is my little ones account. He likes your work and posted the comment above.. ( it may not all make sense) Sorry..
He is 5 and a little smarty.. I hope you don't mind the messaging..
check his stuff out its pretty amazing for his age..
He figured this all out on his own … so any tips you may have for him he loves to read..
sorry for the long message.. He kept begging me to type more..
Thanks
- GoldenPickaxe2
-
Scratcher
100+ posts
Scratch Video Update: Episode 14
var Count, foo;
function mathRandomInt(a, b) {
if (a > b) {
// Swap a and b to ensure a is smaller.
var c = a;
a = b;
b = c;
}
return Math.floor(Math.random() * (b - a + 1) + a);
}
/**
* Describe this function...
*/
function HelloWorld() {
foo = mathRandomInt(0, 10);
if (foo < 5) {
window.alert('Friday Linked List!');
} else {
window.alert(String('The random value was') + String(foo));
}
return foo;
}
- GoldenPickaxe2
-
Scratcher
100+ posts
Scratch Video Update: Episode 14
var Count, foo;
function mathRandomInt(a, b) {
if (a > b) {
// Swap a and b to ensure a is smaller.
var c = a;
a = b;
b = c;
}
return Math.floor(Math.random() * (b - a + 1) + a);
}
/**
* Describe this function...
*/
function HelloWorld() {
foo = mathRandomInt(0, 10);
if (foo < 5) {
window.alert('Friday Linked List!');
} else {
window.alert(String('The random value was') + String(foo));
}
return foo;
}
Last edited by GoldenPickaxe2 (Sept. 30, 2016 00:27:14)
- GoldenPickaxe2
-
Scratcher
100+ posts
Scratch Video Update: Episode 14
noStroke();
//white
fill(255, 255, 255);
rect(150,50,25,25);
rect(325,225,25,25);
//light gray
fill(199, 199, 199);
rect(175,50,25,25);
rect(250,50,25,25);
rect(275,100,25,25);
rect(325,125,25,25);
rect(325,200,25,25);
//gray
fill(179, 179, 179);
rect(200,50,25,25);
rect(225,50,25,25);
rect(250,75,25,25);
rect(275,75,25,25);
rect(300,100,25,25);
rect(300,125,25,25);
rect(325,150,25,25);
rect(325,175,25,25);
//dark gray
fill(61, 61, 61);
rect(150,25,25,25);
rect(175,25,25,25);
rect(200,25,25,25);
rect(225,25,25,25);
rect(250,25,25,25);
rect(125,50,25,25);
rect(275,50,25,25);
rect(150,75,25,25);
rect(175,75,25,25);
rect(200,75,25,25);
rect(225,75,25,25);
rect(325,100,25,25);
rect(350,125,25,25);
rect(300,150,25,25);
rect(350,150,25,25);
rect(300,175,25,25);
rect(350,175,25,25);
rect(300,200,25,25);
rect(350,200,25,25);
rect(300,225,25,25);
rect(350,225,25,25);
rect(325,250,25,25);
//light brown
fill(143, 99, 33);
rect(300,75,25,25);
rect(225,150,25,25);
rect(175,200,25,25);
rect(125,250,25,25);
rect(75,300,25,25);
//brown
fill(115, 76, 17);
rect(325,50,25,25);
rect(250,125,25,25);
rect(200,175,25,25);
rect(150,225,25,25);
rect(100,275,25,25);
rect(50,325,25,25);
//dark brown
fill(69, 44, 5);
rect(300,50,25,25);
rect(250,100,25,25);
rect(225,125,25,25);
rect(200,150,25,25);
rect(175,175,25,25);
rect(150,200,25,25);
rect(125,225,25,25);
rect(100,250,25,25);
rect(75,275,25,25);
rect(50,300,25,25);
//very dark brown
fill(48, 30, 0);
rect(325,75,25,25);
rect(275,125,25,25);
rect(250,150,25,25);
rect(225,175,25,25);
rect(200,200,25,25);
rect(175,225,25,25);
rect(150,250,25,25);
rect(125,275,25,25);
rect(100,300,25,25);
rect(75,325,25,25);
- GoldenPickaxe2
-
Scratcher
100+ posts
Scratch Video Update: Episode 14
when alarm clock ringed :: events
repeat (3)
hit snooze button ::
wait until <alarm rings :: custom>
end
turn off alarm :: custom
get up ::custom
shower :: custom
get dressed :: custom
eat (breakfast :: list) ::custom
if <(weather :: list) = [sunny]> then
walk to school :: custom
else
ride to school :: custom
end
- GoldenPickaxe2
-
Scratcher
100+ posts
Scratch Video Update: Episode 14
when table flipped :: events
set text face to [-_-]
if <table flipped> then
switch text face to [(╯°□°)╯︵ ┻━┻]
end
when green flag clicked
set text face to [-_-]
flip (furniture :: list) :: custom
add [table] to [furniture v]
if <touching [table v] ?> then
set text face to [╯(ಠ益ಠ╯)]
end
Last edited by GoldenPickaxe2 (Sept. 30, 2016 18:48:47)
- Discussion Forums
- » Announcements
-
» Scratch Video Update: Episode 14



