Auto007 wrote:
Blazingwave wrote:
JH1010 wrote:
Yes. New members are always appreciated.
Fixed.Thanks
Oops...........
I am sorry.........
I must have made that good and accurate without mistakes.....
Sorry about that
-----------------<<±>>--------------About cloud variable...
Can anyone show us a program made with cloud variable ?
We can add that to solved problems or new program in intro post...
And people would also like it .
The official scratch 2.0 video has a section on cloud variables. See it here
Last edited by Blazingwave (2013-01-17 04:42:31)
Offline
Blazingwave wrote:
Auto007 wrote:
Blazingwave wrote:
ThanksOops...........
I am sorry.........
I must have made that good and accurate without mistakes.....
Sorry about that
-----------------<<±>>--------------About cloud variable...
Can anyone show us a program made with cloud variable ?
We can add that to solved problems or new program in intro post...
And people would also like it .The official scratch 2.0 video has a section on cloud variables. See it here
Jh1010, u agreed to add me, but u didnt,
and Brainwave, cloud variable will be available in 2.0 but not in 1.x
Offline
Aditya007 wrote:
Jh1010, u agreed to add me, but u didnt,
Terribly sorry. I will add you right now.
Offline
mythbusteranimator wrote:
ErnieParke wrote:
mythbusteranimator wrote:
Um...if it makes it easier not to, than no, you don't need to add that.Okay; I'll get your script to you tomorrow then. I'm a bit tight on time right now.
Sure.
I'll be at Winter Jam in Reading tomorrow, so I might get it Friday.
Ugh… looks like I ran out of time. I will certainly get to you tomorrow.
Offline
Blazingwave wrote:
Auto007 wrote:
Blazingwave wrote:
ThanksOops...........
I am sorry.........
I must have made that good and accurate without mistakes.....
Sorry about that
-----------------<<±>>--------------About cloud variable...
Can anyone show us a program made with cloud variable ?
We can add that to solved problems or new program in intro post...
And people would also like it .The official scratch 2.0 video has a section on cloud variables. See it here
No no ,, I mean programs made by us as an example .
Offline
Auto007 wrote:
Blazingwave wrote:
Auto007 wrote:
Blazingwave wrote:
Thanks
Oops...........
I am sorry.........
I must have made that good and accurate without mistakes.....
Sorry about that
-----------------<<±>>--------------The official scratch 2.0 video has a section on cloud variables. See it here
No no ,, I mean programs made by us as an example .
You will see lots when the beta is released on January the 28th but for now I think only alpha testers can see scratch 2.0 projects
Offline
Blazingwave wrote:
Auto007 wrote:
Blazingwave wrote:
The official scratch 2.0 video has a section on cloud variables. See it hereNo no ,, I mean programs made by us as an example .
You will see lots when the beta is released on January the 28th but for now I think only alpha testers can see scratch 2.0 projects
Don't forget that there's the forum code that you could use.
To Auto007:
Although this wasn't done in this thread, earlier I had created a script to find out how many people were online at a moment, and it used the User ID block. Would this fit your needs?
Offline
JH1010 wrote:
Aditya007 wrote:
Jh1010, u agreed to add me, but u didnt,
Terribly sorry. I will add you right now.
Thxxx!
Offline
ErnieParke wrote:
mythbusteranimator wrote:
ErnieParke wrote:
Okay; I'll get your script to you tomorrow then. I'm a bit tight on time right now.Sure.
I'll be at Winter Jam in Reading tomorrow, so I might get it Friday.Ugh… looks like I ran out of time. I will certainly get to you tomorrow.
It's fine.
Offline
mythbusteranimator wrote:
ErnieParke wrote:
mythbusteranimator wrote:
Sure.
I'll be at Winter Jam in Reading tomorrow, so I might get it Friday.Ugh… looks like I ran out of time. I will certainly get to you tomorrow.
It's fine.
Okay, so there are several ways that you could attack this. First, I'll start with the movement of the buttons. You could do it either of these 4 ways:
1). You could use a glide block for simple situations:
glide (2) secs to x: (-97) y: (-87)
point in direction [90 v] repeat (90)//Or 90/turn. turn ccw (1) degrees//This is turn. move (1) steps end
set [direction* v] to (90) repeat (90) change x by (([sin v] of (direction*)) * (1))//1 is the speed of the turn. change y by (([cos v] of (direction*)) * (1)) change [direction* v] by (-1) end
set [direction* v] to (90) repeat (90) change x by (([sin v] of (direction*)) * (((45) - ([abs v] of (((direction*) mod (90)) - (45)))) / (10)))//10 is the slowness of the turn. change y by (([cos v] of (direction*)) * (((45) - ([abs v] of (((direction*) mod (90)) - (45)))) / (10))) change [direction* v] by (-1) end
set [x velocity v] to (5) set [y velocity v] to (0) repeat (6) change x by (x velocity) change y by (y velocity) change [x velocity v] by (-1) change [y velocity v] by (1) end
set [x velocity v] to (5) set [y velocity v] to (0) repeat (6) change x by (x velocity) change y by (y velocity) change [x velocity v] by (-1) change [y velocity v] by (2)//Key change. end
Last edited by ErnieParke (2013-01-18 22:08:05)
Offline
Can You show us a script with cloud variable ?
May be of a chatroom ?
Offline
Auto007 wrote:
Can You show us a script with cloud variable ?
May be of a chatroom ?
Cloud variables work just like the variables in Scratch 1.4.
Offline
GlennWright wrote:
Auto007 wrote:
Can You show us a script with cloud variable ?
May be of a chatroom ?Cloud variables work just like the variables in Scratch 1.4.
I know that.
But I actualy wanted a chatroom script . . plz show me !
Offline
Auto007 wrote:
GlennWright wrote:
Auto007 wrote:
Can You show us a script with cloud variable ?
May be of a chatroom ?Cloud variables work just like the variables in Scratch 1.4.
I know that.
But I actualy wanted a chatroom script . . plz show me !
2.0 blocks are not compatible with the 1.4 block plugin. No such plugin has been created yet in Scratch 2.0. I am hoping that there will be on the beta site. If there is I will make a new Scripts Workshop thread there. Please ask your question again then.
Offline
Auto007 wrote:
GlennWright wrote:
Auto007 wrote:
Can You show us a script with cloud variable ?
May be of a chatroom ?Cloud variables work just like the variables in Scratch 1.4.
I know that.
But I actualy wanted a chatroom script . . plz show me !
Sorry! I didn't realise
Offline
Auto007 wrote:
GlennWright wrote:
Auto007 wrote:
Can You show us a script with cloud variable ?
May be of a chatroom ?Cloud variables work just like the variables in Scratch 1.4.
I know that.
But I actualy wanted a chatroom script . . plz show me !
I could get you one, though I'd have to do some testing first. I'll be back...
Okay, so here's what'll you'll need:
1). A cloud list. (Hiding)
2). A regular list. (Showing)
Now, you'll need these scripts:
when gf clicked//Chat. forever ask [What would you like to say?] and wait add (answer) to [Global list v]
when gf clicked//Update script. delete [all v] of [Regular list v] repeat (5) add [0] to [Regular list v] add [0] to [Regular list v] end forever if <(length of [Global list v]) > (100)> delete [1 v] of [Global list v] end replace item [1 v] of [Regular list v] with (item ((length of [Global list v]) - (9)) of [global list v]) replace item ((1) + (1)) of [Regular list v] with (item ((length of [Global list v]) - (8)) of [global list v]) replace item ((1) + (2)) of [Regular list v] with (item ((length of [Global list v]) - (7)) of [global list v]) replace item ((1) + (3)) of [Regular list v] with (item ((length of [Global list v]) - (6)) of [global list v]) replace item ((1) + (4)) of [Regular list v] with (item ((length of [Global list v]) - (5)) of [global list v]) replace item ((1) + (5)) of [Regular list v] with (item ((length of [Global list v]) - (4)) of [global list v]) replace item ((1) + (6)) of [Regular list v] with (item ((length of [Global list v]) - (3)) of [global list v]) replace item ((1) + (7)) of [Regular list v] with (item ((length of [Global list v]) - (2)) of [global list v]) replace item ((1) + (8)) of [Regular list v] with (item ((length of [Global list v]) - (1)) of [global list v]) replace item ((1) + (9)) of [Regular list v] with (item (length of [Global list v]) of [global list v])
Last edited by ErnieParke (2013-01-19 11:19:41)
Offline
mythbusteranimator wrote:
ErnieParke wrote:
mythbusteranimator wrote:
Sure.
I'll be at Winter Jam in Reading tomorrow, so I might get it Friday.Ugh… looks like I ran out of time. I will certainly get to you tomorrow.
It's fine.
Now, to add on to the above post; we need to create the skeleton for your script. So, if you're only using the right arrow key, then basically what you'll need is:
when gf clicked set [choice v] to (0) forever if (key [right arrow v] pressed?) wait (0) secs wait until <not (key [right arrow v]? pressed?)> if <(choice) = (0)> Movement script... end if <(choice) = (1)> Movement script... end if <(choice) = (2)> Movement script... end if <(choice) = (3)> Movement script... end end
Last edited by ErnieParke (2013-01-19 12:01:33)
Offline
ErnieParke wrote:
Auto007 wrote:
GlennWright wrote:
Cloud variables work just like the variables in Scratch 1.4.I know that.
But I actualy wanted a chatroom script . . plz show me !I could get you one, though I'd have to do some testing first. I'll be back...
Okay, so here's what'll you'll need:
1). A cloud list. (Hiding)
2). A regular list. (Showing)
Now, you'll need these scripts:when gf clicked//Chat. forever ask [What would you like to say?] and wait add (answer) to [Global list v]when gf clicked//Update script. Can you ckeck this once more ? delete [all v] of [Regular list v] repeat (5) add [0] to [Regular list v]//How do these work ? add [0] to [Regular list v]//How do these work ? end forever if <(length of [Global list v]) > (100)> delete [1 v] of [Global list v] end replace item [1 v] of [Regular list v] with (item ((length of [Global list v]) - (9)) of [global list v]) replace item (2) of [Regular list v] with (item ((length of [Global list v]) - (8)) of [global list v]) replace item (3) of [Regular list v] with (item ((length of [Global list v]) - (7)) of [global list v]) replace item (4) of [Regular list v] with (item ((length of [Global list v]) - (6)) of [global list v]) replace item (5) of [Regular list v] with (item ((length of [Global list v]) - (5)) of [global list v]) replace item (6) of [Regular list v] with (item ((length of [Global list v]) - (4)) of [global list v]) replace item (7) of [Regular list v] with (item ((length of [Global list v]) - (3)) of [global list v]) replace item (8) of [Regular list v] with (item ((length of [Global list v]) - (2)) of [global list v]) replace item (9) of [Regular list v] with (item ((length of [Global list v]) - (1)) of [global list v]) replace item (10) of [Regular list v] with (item (length of [Global list v]) of [global list v])
I hope that this helps!
Ya !! it helped but can u ckeck this on once more, i have made changes. will this work ?
Offline
Auto007 wrote:
ErnieParke wrote:
Auto007 wrote:
I know that.
But I actualy wanted a chatroom script . . plz show me !I could get you one, though I'd have to do some testing first. I'll be back...
Okay, so here's what'll you'll need:
1). A cloud list. (Hiding)
2). A regular list. (Showing)
Now, you'll need these scripts:when gf clicked//Chat. forever ask [What would you like to say?] and wait add (answer) to [Global list v]when gf clicked//Update script. Can you ckeck this once more ? delete [all v] of [Regular list v] repeat (5) add [0] to [Regular list v]//How do these work ? add [0] to [Regular list v]//How do these work ? end forever if <(length of [Global list v]) > (100)> delete [1 v] of [Global list v] end replace item [1 v] of [Regular list v] with (item ((length of [Global list v]) - (9)) of [Global list v]) replace item (2) of [Regular list v] with (item ((length of [Global list v]) - (8)) of [Global list v]) replace item (3) of [Regular list v] with (item ((length of [Global list v]) - (7)) of [Global list v]) replace item (4) of [Regular list v] with (item ((length of [Global list v]) - (6)) of [Global list v]) replace item (5) of [Regular list v] with (item ((length of [Global list v]) - (5)) of [Global list v]) replace item (6) of [Regular list v] with (item ((length of [Global list v]) - (4)) of [Global list v]) replace item (7) of [Regular list v] with (item ((length of [Global list v]) - (3)) of [Global list v]) replace item (8) of [Regular list v] with (item ((length of [Global list v]) - (2)) of [Global list v]) replace item (9) of [Regular list v] with (item ((length of [Global list v]) - (1)) of [Global list v]) replace item (10) of [Regular list v] with (item (length of [Global list v]) of [Global list v])
I hope that this helps!Ya !! it helped but can u ckeck this on once more, i have made changes. will this work ?
Well, the [add (0) to [Regular list v]] block was added in so that there's actually something in the list to be replaced later on.
Also, If I'm correct, then in Scratch 2.0, you can't just type in which item you want into a
[replace item [blank] of [list v] with [blank]]
block, which is why you need the operators there.
Offline
Well thanks . It works ! I made some modifications with filters and GUI , it works good . I have uploaded basic version on my test account - Auto007test . Check it if u want .
Last edited by Auto007 (2013-01-19 14:01:42)
Offline
Auto007 wrote:
Well thanks . It works ! I made some modifications with filters and GUI , it works good . I have uploaded basic version on my test account - Auto007test . Check it if u want .
Okay, I will. And your welcome!
Offline
Offline
Offline
bump
Offline
:p
:p
This is a awesome place to learn and make scratch.
but this will be vanquished in 2.0
so prepare a backup
Last edited by Auto007 (2013-01-22 07:36:16)
Offline