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

#1 2012-05-07 07:58:04

octopo2
Scratcher
Registered: 2009-06-06
Posts: 27

More blocks

Theese are quite a few blocks which I wish were real:

When [CTRL v] key pressed
Wait until [Shift v] and [mouse-down v] pressed
When [enter key v] pressed
When [F7 key v] pressed
When [F7 key v] pressed or [Backspace key v] pressed
When [F7 key v] pressed, If (1) [= v] (2) then // That is Meant to create a C.
    Do anything // That is meant to be inside a C.
Broadcast [Move 10 steps v] until I recieve [stop moving 10 steps v]
Join mesh IP address: [123].[456].[7].[89]
Leave current mesh
Say pick random [hello] or [hi]
Or if you want it to say more:
<[hello] or [hi]>
Then even more blocks:

If touching [enemy v] broadcast [lost game v] and wait then stop all and play sound [pop v]
If other mesh player/players variable [health v] is [0] say mesh players I.P.


If time is [1 v] hour, [any v]minute and [any v] second.


Kick mesh I.P. [123].[456].[7].[89] from my mesh.


Kick all players from my mesh

End my current mesh

kick all but [123].[456].[7].[89] from my mesh

(number of players in my mesh (other than me))

Now an easy to access stretch block, under change effects.

Change [stretch v] effect by [25]

I know it's a lot to ask for, but please support.


http://www.sellecom.net/images2/ClickHereAnimated.gif http://www.sellecom.net/images2/ClickHereAnimated.gif

Offline

 

#2 2012-05-07 09:18:00

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

Re: More blocks

octopo2 wrote:

Theese are quite a few blocks which I wish were real:

When [CTRL v] key pressed
When [enter v]  key pressed
When [F7 v] key pressed
Would be good

Wait until [Shift v] and [mouse-down v] pressed
This block is unneeded as you can do
wait until <<key [shift v] pressed?> and <mouse down?>>
if you could choose shift from the key pressed block, but I DO support more keys in the key pressed block and if that is what you meant I support

When [F7 key v] pressed or [Backspace key v] pressed
Again, if you had the extra keys in the key pressed and when key pressed blocks you could do
when [F7 v] key pressed
broadcast [do something when f7 pressed or backspace pressed v]
when [backspace v] key pressed
broadcast [do something when f7 pressed or backspace pressed v]
when i receive [do something when f7 pressed or backspace pressed v]
do something
which would work

When [F7 key v] pressed, If (1) [= v] (2) then // That is meant to create a C.
    Do anything // That is meant to be inside a C.
You could just do (if we had the extra keys)
when [f7 v] key pressed
if <(1) = (2)>
do stuff
end
to do this

Broadcast [Move 10 steps v] until I receive [stop moving 10 steps v]
You could do
when i receive [stop moving 10 steps v]
set stop to (1)
when i receive [this is another script v]
repeat until <(stop) = (1)>
broadcast [move 10 steps v]
end
to achieve this

Join mesh IP address: [123].[456].[7].[89]
Leave current mesh
Great ideas but there would also have to be
<in mesh?>
<my IP>
host mesh
exit mesh
so there would be some ips TO join and you won't get "stuck" in mesh

Say pick random [hello] or [hi]


Or if you want it to say more:
<[hello] or [hi]>

Make a list of all the things you want it to say then use
say (item (any v) of [the list v])
to do this

If touching [enemy v] broadcast [lost game v] and wait then stop all and play sound [pop v]
What's wrong with
if <touching [enemy v]>
broadcast [lost game v] and wait
play sound [pop v]
stop all
end
for this

If other mesh player/players variable [health v] is [0] say mesh players I.P.
You can do
if <([health v] sensor value) = [0]>
do whatever
for this

If time is [1 v] hour, [any v]minute and [any v] second.
There should be a
<date/time [hour v]>
<date/time [minute v]>
<date/time [second v]>
<date/time [day of month v]>
<date/time [day of week v]>
<date/time [month number v]>
<date/time [month name v]>
<date/time [year v]>
block to do this.

Kick mesh I.P. [123].[456].[7].[89] from my mesh.
Kick all players from my mesh
End my current mesh
kick all but [123].[456].[7].[89] from my mesh
(number of players in my mesh (other than me))
could all be useful


Change [stretch v] effect by [25]
Support!


I know it's a lot to ask for, but please support.

My comments in red


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

 

#3 2012-05-07 13:07:57

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: More blocks

There wouldn't be much use of nearly all of these, they can be easily replicated.

I would like a stretch block though.


Why

Offline

 

#4 2012-05-07 13:28:55

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: More blocks

For stretch, wouldn't you have to tell it which direction to stretch in? like this:

change [stretch v] effect by (25) at (90 v) degrees
I support most of the other blocks, too.


La La
I wrote an album.

Offline

 

#5 2012-05-07 13:43:07

octopo2
Scratcher
Registered: 2009-06-06
Posts: 27

Re: More blocks

AgentRoop wrote:

For stretch, wouldn't you have to tell it which direction to stretch in? like this:

change [stretch v] effect by (25) at (90 v) degrees
I support most of the other blocks, too.

Yeah that could work better.


http://www.sellecom.net/images2/ClickHereAnimated.gif http://www.sellecom.net/images2/ClickHereAnimated.gif

Offline

 

#6 2012-05-07 14:05:04

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: More blocks

There should also be a reporter block that reports the stretch effect. And it should be in two parts, like "change x stretch" and "change y stretch".


Why

Offline

 

#7 2012-05-07 15:10:36

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: More blocks

RedRocker227 wrote:

There should also be a reporter block that reports the stretch effect. And it should be in two parts, like "change x stretch" and "change y stretch".

yesssss.....it should.......I love........periods.........so much.........

Last edited by AgentRoop (2012-05-07 15:10:52)


La La
I wrote an album.

Offline

 

#8 2012-05-08 15:20:31

octopo2
Scratcher
Registered: 2009-06-06
Posts: 27

Re: More blocks

And a:

<[English v] word [hello] in [French v]>
block. (I missed that one out) this would allow you to change the language of a game VERY easily.


http://www.sellecom.net/images2/ClickHereAnimated.gif http://www.sellecom.net/images2/ClickHereAnimated.gif

Offline

 

#9 2012-05-08 15:57:38

octopo2
Scratcher
Registered: 2009-06-06
Posts: 27

Re: More blocks

Final block, so I dont forget:

<Online?>

<Offline?>


http://www.sellecom.net/images2/ClickHereAnimated.gif http://www.sellecom.net/images2/ClickHereAnimated.gif

Offline

 

#10 2012-05-08 16:02:25

octopo2
Scratcher
Registered: 2009-06-06
Posts: 27

Re: More blocks

If touching [enemy v] broadcast [lost game v] and wait then stop all and play sound [pop v]
What's wrong with - If you did that then it would continue playing the game until the sound finished but this way it will stop all THEN play the sound until it's done, that way you can't still continue to earn points (example if it was a game). octopo2.
if <touching [enemy v]>
broadcast [lost game v] and wait
play sound [pop v]
stop all 
end
Ok?


http://www.sellecom.net/images2/ClickHereAnimated.gif http://www.sellecom.net/images2/ClickHereAnimated.gif

Offline

 

#11 2012-05-08 16:10:39

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: More blocks

That'd take an extremely large amount of work. If it's not impossible, that is.


Why

Offline

 

#12 2012-05-08 16:44:24

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: More blocks

Here's another idea!

change [saturation v] effect by (25) 


La La
I wrote an album.

Offline

 

#13 2012-05-08 20:08:11

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: More blocks

In Scratch 2.0, you can make your own blocks.

Offline

 

#14 2012-05-08 20:55:36

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: More blocks

Haiming wrote:

In Scratch 2.0, you can make your own blocks.

you can make your own blocks out of other blocks. Some of these would be impossible to make even with BYOB.


La La
I wrote an album.

Offline

 

#15 2012-05-11 03:23:53

Twiddlemaster
Scratcher
Registered: 2011-12-22
Posts: 44

Re: More blocks

There already are most of these blocks, like backspace, ctrl, shift, stretch, saturation, pointilize, as well as tons of others, they don't work online, but still work in scratch.


http://i48.tinypic.com/1enfkg.jpg

Offline

 

#16 2012-05-11 03:52:40

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: More blocks

Most of the suggestions above are either already possible, unnecessary, or impossible.


http://trinary.tk/images/signature_.php

Offline

 

#17 2012-05-11 14:14:04

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: More blocks

Twiddlemaster wrote:

There already are most of these blocks, like backspace, ctrl, shift, stretch, saturation, pointilize, as well as tons of others, they don't work online, but still work in scratch.

since when are there stretch and saturation in version 1.4 of scratch? I haven't seen them.


La La
I wrote an album.

Offline

 

#18 2012-05-11 21:01:55

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: More blocks

AgentRoop wrote:

Twiddlemaster wrote:

There already are most of these blocks, like backspace, ctrl, shift, stretch, saturation, pointilize, as well as tons of others, they don't work online, but still work in scratch.

since when are there stretch and saturation in version 1.4 of scratch? I haven't seen them.

You can modify the Scratch IMAGE.


http://trinary.tk/images/signature_.php

Offline

 

#19 2012-05-12 03:00:01

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

Re: More blocks

AgentRoop wrote:

Twiddlemaster wrote:

There already are most of these blocks, like backspace, ctrl, shift, stretch, saturation, pointilize, as well as tons of others, they don't work online, but still work in scratch.

since when are there stretch and saturation in version 1.4 of scratch? I haven't seen them.

You have to hack scratch


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

 

#20 2012-05-13 21:35:08

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: More blocks

joefarebrother wrote:

AgentRoop wrote:

Twiddlemaster wrote:

There already are most of these blocks, like backspace, ctrl, shift, stretch, saturation, pointilize, as well as tons of others, they don't work online, but still work in scratch.

since when are there stretch and saturation in version 1.4 of scratch? I haven't seen them.

You have to hack scratch

how would i hack scratch? would it be against the rules?


La La
I wrote an album.

Offline

 

#21 2012-05-14 09:41:55

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: More blocks

If 1=2???

if < <1 = 2> >
 ask [what does it mean?]
 


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#22 2012-05-15 20:18:41

elcreeper
Scratcher
Registered: 2012-05-02
Posts: 8

Re: More blocks

<( ((Player in my mesh that is on my enemy list?)) )>
that would kick out a player if he was my enemy(if i made it do that like I could make say hello or something)but it makes it possible.

Offline

 

#23 2012-05-15 20:57:50

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: More blocks

joefarebrother wrote:

octopo2 wrote:

Theese are quite a few blocks which I wish were real:

When [CTRL v] key pressed
When [enter v]  key pressed
When [F7 v] key pressed
Would be good

Wait until [Shift v] and [mouse-down v] pressed
This block is unneeded as you can do
wait until <<key [shift v] pressed?> and <mouse down?>>
if you could choose shift from the key pressed block, but I DO support more keys in the key pressed block and if that is what you meant I support

When [F7 key v] pressed or [Backspace key v] pressed
Again, if you had the extra keys in the key pressed and when key pressed blocks you could do
when [F7 v] key pressed
broadcast [do something when f7 pressed or backspace pressed v]
when [backspace v] key pressed
broadcast [do something when f7 pressed or backspace pressed v]
when i receive [do something when f7 pressed or backspace pressed v]
do something
which would work

When [F7 key v] pressed, If (1) [= v] (2) then // That is meant to create a C.
    Do anything // That is meant to be inside a C.
You could just do (if we had the extra keys)
when [f7 v] key pressed
if <(1) = (2)>
do stuff
end
to do this

Broadcast [Move 10 steps v] until I receive [stop moving 10 steps v]
You could do
when i receive [stop moving 10 steps v]
set stop to (1)
when i receive [this is another script v]
repeat until <(stop) = (1)>
broadcast [move 10 steps v]
end
to achieve this

Join mesh IP address: [123].[456].[7].[89]
Leave current mesh
Great ideas but there would also have to be
<in mesh?>
<my IP>
host mesh
exit mesh
so there would be some ips TO join and you won't get "stuck" in mesh

Say pick random [hello] or [hi]


Or if you want it to say more:
<[hello] or [hi]>

Make a list of all the things you want it to say then use
say (item (any v) of [the list v])
to do this

If touching [enemy v] broadcast [lost game v] and wait then stop all and play sound [pop v]
What's wrong with
if <touching [enemy v]>
broadcast [lost game v] and wait
play sound [pop v]
stop all
end
for this

If other mesh player/players variable [health v] is [0] say mesh players I.P.
You can do
if <([health v] sensor value) = [0]>
do whatever
for this

If time is [1 v] hour, [any v]minute and [any v] second.
There should be a
<date/time [hour v]>
<date/time [minute v]>
<date/time [second v]>
<date/time [day of month v]>
<date/time [day of week v]>
<date/time [month number v]>
<date/time [month name v]>
<date/time [year v]>
block to do this.

Kick mesh I.P. [123].[456].[7].[89] from my mesh.
Kick all players from my mesh
End my current mesh
kick all but [123].[456].[7].[89] from my mesh
(number of players in my mesh (other than me))
could all be useful


Change [stretch v] effect by [25]
Support!


I know it's a lot to ask for, but please support.

My comments in red

Offline

 

Board footer