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

#51 2012-08-27 18:17:14

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Scratch 2.0 block ideas

thebriculator wrote:

really? O.o learn something new everyday.  smile

http://i50.tinypic.com/2f04ls2.png


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#52 2012-08-27 18:20:09

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Scratch 2.0 block ideas

thebriculator wrote:

Idea

hide all sprites
hide all variables

A sprite, or the stage, could have this:

broadcast [hide all sprites v]
Then, all the other sprites could have this:
when I recieve [hide all sprites v]
hide
And for the variables, you could just use the
hide [variable v]
block.

Last edited by henley (2012-08-27 18:20:55)


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#53 2012-08-28 13:49:04

Ztype
Scratcher
Registered: 2012-08-27
Posts: 100+

Re: Scratch 2.0 block ideas

I meant:

show [variable1 v] on [sprite1 v]
And also:
copy [list v]


http://i.imgur.com/DSmyV.png

Offline

 

#54 2012-08-28 18:58:47

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Scratch 2.0 block ideas

Ztype wrote:

I meant:

show [variable1 v] on [sprite1 v]
And also:
copy [list v]

What would the first one do? Put the watcher on a sprite? That would probably look weird. And you can always move the variable.

And why would you need to copy a list mid-project? The user wouldn't be able to manipulate it, and you can always just make a different list, and carry over all the items from the old list.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#55 2012-08-29 04:30:03

Ztype
Scratcher
Registered: 2012-08-27
Posts: 100+

Re: Scratch 2.0 block ideas

Reason for show variable on sprite:
So (for example health, you dont have to look at variables on the side, for eg you have a troops game with multiple armies it would be better to say right on army one how much power they have instead of referring to a side screen
Copy list as for one of my projects, a special feature (saving) required me to copy one list to another, and there was no copy "all" of list 1 function, there was only first, any and last. So what I had to do was copy 1, delete, copy 1 etc, so then when you saved all your work on the screen would have been deleted, and same with opening, I had to do the same, so all the work on your save file would have been deleted. There


http://i.imgur.com/DSmyV.png

Offline

 

#56 2012-08-29 04:33:05

Ztype
Scratcher
Registered: 2012-08-27
Posts: 100+

Re: Scratch 2.0 block ideas

Why not:

copy [whats been drawn with pen v] to [sprite1 costume1]
?
So you could have initially a sketch pad which people could draw on on screen, and their drawings could be made into sprites


http://i.imgur.com/DSmyV.png

Offline

 

#57 2012-08-29 05:07:36

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Scratch 2.0 block ideas

What about

treat [variable/list watcher v] as a sprite and make it run //C block 
script goes here


//Another one: (all meant to be one big block with multiple c-inputs)
switch <expression>
case (0)
c input that happens when the expression is 0
case (1)
c input that happens when the expression is 1
case (2)
c input that happens when the expression is 2
...
+/- //buttons to add or remove c inputs
default
c input that happens when the expression is none of the above


//Yes, I know it can be done with
set [result v] to <expression>
if <(result) = (1)>
case 1
else
if <(result) = (2)>
case 2
else
...
default
But when theres lots of c blocks, scratch lags, and alot of programming languages have switch anyway.

Last edited by joefarebrother (2012-09-01 05:05:51)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#58 2012-08-31 17:37:05

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: Scratch 2.0 block ideas

Ztype wrote:

Why not:

copy [whats been drawn with pen v] to [sprite1 costume1]
?
So you could have initially a sketch pad which people could draw on on screen, and their drawings could be made into sprites

That would be nice...  smile


http://i48.tinypic.com/2072ctw.gif

Offline

 

#59 2012-09-01 03:12:17

narwhal09879-test
New Scratcher
Registered: 2012-09-01
Posts: 3

Re: Scratch 2.0 block ideas

legobob23o wrote:

I have one!

<[space v] key pressed for (2) secs>
It controls what to do when a certain key is pressed for a certain time!

Now that would be very useful  smile

Offline

 

#60 2012-09-01 05:07:51

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Scratch 2.0 block ideas

narwhal09879-test wrote:

legobob23o wrote:

I have one!

<[space v] key pressed for (2) secs>
It controls what to do when a certain key is pressed for a certain time!

Now that would be very useful  smile

Even better:

<<> for (1) seconds>
Then you could put in <key [ v] pressed> or <mouse down> or anything else.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#61 2013-01-06 22:12:17

happyjoey2012
Scratcher
Registered: 2012-05-09
Posts: 21

Re: Scratch 2.0 block ideas

one i NEED

when gf clicked
forever
if <word [10] of item [1 v] of [mylist v] = [run]>
say [add this to scratch 2.0 now] for (200) secs

Last edited by happyjoey2012 (2013-01-06 22:21:38)


i didn't trip i just attacked the floor with my ninja stile!

Offline

 

#62 2013-01-11 00:43:03

jrbc1
Scratcher
Registered: 2009-11-13
Posts: 2

Re: Scratch 2.0 block ideas

These are my ideas

if touching [sprite1 v] bounce
movement [w][a][s][d]
instant //will make instant the blocks next to it

Last edited by jrbc1 (2013-01-11 00:57:59)

Offline

 

#63 2013-01-11 15:02:27

Tbtemplex97
Scratcher
Registered: 2011-11-12
Posts: 100+

Re: Scratch 2.0 block ideas

How about

<players viewing>

switch to project [1 v]

So that you can track how many people are viewing your project and switch to another of your projects.

Example:
when gf clicked 
if <(players viewing) > [5]>
say [yay loadsa players today!]
end
when gf clicked
ask [do you want to change projects?] and wait
if <(answer) = [yes]>
switch to project [2 v]

Last edited by Tbtemplex97 (2013-01-11 15:19:08)


Online Status: http://blocks.scratchr.org/API.php?action=onlineStatus&amp;user=Tbtemplex97
Darkspace Coming Soon!, Try the Singleplayer Demo

Offline

 

Board footer