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

#1 2011-02-23 02:15:22

olivora
Scratcher
Registered: 2008-04-22
Posts: 100+

A few block ideas that I haven't seen

Touching all colors besides a certain color http://i839.photobucket.com/albums/zz320/olivora/thouchingallcolorsbesides.gif?t=1298934946

This could be useful for making scrolling games

(you could also do this with sprites) eg. http://i839.photobucket.com/albums/zz320/olivora/touchinganyspritebesides-1.gif?t=1298934997

Different layered stamping http://i839.photobucket.com/albums/zz320/olivora/stampinlayer.gif?t=1298934582

This could be useful for stamping in front of objects instead of just the background

A go to layer block http://i839.photobucket.com/albums/zz320/olivora/gotolayer.gif?t=1298933217

An if touching any sprite http://i839.photobucket.com/albums/zz320/olivora/touchinganysprite.gif?t=1298934174

This could be used along with the http://i839.photobucket.com/albums/zz320/olivora/bounce.gif?t=1298934251 that I've seen.

Also a do nothing block http://i839.photobucket.com/albums/zz320/olivora/donothing.gif?t=1298934321 This might sound pointless but I encountered a problem where it would have been useful. In the game there is a block that moves forward, but this game will also be a scroller game. So I put in a few sensors, but I wanted the block to stop moving when it touched the sensors. So I thought about, "if touching sensors- do nothing". that was just a quick example. This block could also be usefull in RPGs.

or you could make this http://i839.photobucket.com/albums/zz320/olivora/donothingfor-1.gif?t=1298934417

*Btw. I solved my problem so don't put any suggestions

Freeze block http://i839.photobucket.com/albums/zz320/olivora/freeze.gif?t=1298947002

Similar to the do nothing block except this one only stops any movement.

If (+) Else
http://i839.photobucket.com/albums/zz320/olivora/IfIfIfElse.gif?t=1300395519
(credit to Rexpup for idea)

Pressing the plus blocks would add another if block, pressing the minus would delete the if block. This would seem kind of pointless, but it would get rid of the 'if else' block nesting.

Stamp on sprite block http://i839.photobucket.com/albums/zz320/olivora/StamponSprite.gif?t=1300393217
(credit to jonstreeter for idea)

This block allows you stamp on a sprite. The stamp stays on the sprite, even if the sprite moves.

You would also need a http://i839.photobucket.com/albums/zz320/olivora/ClearSprite.gif?t=1300394048

~Olivora

Last edited by olivora (2011-03-17 17:14:55)


http://i839.photobucket.com/albums/zz320/olivora/button.png?t=1300169348<----Push the shiny button, you know you want to  wink

Offline

 

#2 2011-02-23 02:22:48

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: A few block ideas that I haven't seen

olivora wrote:

Touching all colors besides a certain color "touching all colors besides (color picker)?" too many colors

This could be useful for making scrolling games
(you could also do this with sprites) not rly

Different layered stamping "Stamp in layer (enter number here)" Agree

This could be useful for stamping in front of objects instead of just the background

A go to layer block "Go to layer (enter number here)" Agree/

An if touching any sprite "Touching anything?" Agree.

This could be used along with the "Bounce block" that I've seen. Yep.

These are just blocks that popped up in my head as I was writing this. So I'll try and make some more later.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#3 2011-02-23 23:51:12

throughthefire
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: A few block ideas that I haven't seen

Well, the layering concept sounds cool. And there IS a layering system in flash...


Back. For now. Maybe.

Offline

 

#4 2011-02-26 19:27:33

olivora
Scratcher
Registered: 2008-04-22
Posts: 100+

Re: A few block ideas that I haven't seen

I think the one I really want is the layered stamping


http://i839.photobucket.com/albums/zz320/olivora/button.png?t=1300169348<----Push the shiny button, you know you want to  wink

Offline

 

#5 2011-03-04 18:54:15

olivora
Scratcher
Registered: 2008-04-22
Posts: 100+

Re: A few block ideas that I haven't seen

I hope the scratch team accepts these, I really need them for a few games I'm making.


http://i839.photobucket.com/albums/zz320/olivora/button.png?t=1300169348<----Push the shiny button, you know you want to  wink

Offline

 

#6 2011-03-07 13:36:57

Rexpup
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: A few block ideas that I haven't seen

http://mysite.verizon.net/bradley.phillyboy22/if.gif
I've wanted to see this block for a while.  In this mock-up, I forgot to put + and - buttons on the top for more or less options.  This would replace nesting the
[blocks]<if>
<else>
<end>
[/blocks]blocks.

Last edited by Rexpup (2011-03-27 14:47:08)


http://i.imgur.com/QQH4J.gif

Offline

 

#7 2011-03-10 22:48:53

Danatron1
Scratcher
Registered: 2011-02-19
Posts: 3

Re: A few block ideas that I haven't seen

MAKE A BLOCK THAT SAYS
'variable _______ go to X:__ Y:__'
and basically make movement blocks for variables (lists and variables)
how about a block that has <<  <or>  >> but with a plus and minus on each side so it might look a little like this:
__or__or__or__or__or__ and so on

Offline

 

#8 2011-03-11 00:10:26

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: A few block ideas that I haven't seen

for your "do nothing block for one second" block, use "wait one sec"

Offline

 

#9 2011-03-11 00:16:55

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: A few block ideas that I haven't seen

What I want to see is switch case

switch (reporter)
case (num)
[]do something
case (num2)
[]do something
else
[]do something else
_________________


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#10 2011-03-11 17:27:19

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: A few block ideas that I haven't seen

bbbeb wrote:

What I want to see is switch case

switch (reporter)
case (num)
[]do something
case (num2)
[]do something
else
[]do something else
_________________

YES! That would be awesome. So much better than tons of stacked if-else blocks.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#11 2011-03-17 09:31:01

Rexpup
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: A few block ideas that I haven't seen

Harakou wrote:

bbbeb wrote:

What I want to see is switch case

switch (reporter)
case (num)
[]do something
case (num2)
[]do something
else
[]do something else
_________________

YES! That would be awesome. So much better than tons of stacked if-else blocks.

I posted the same idea above, with a mockup.

Rexpup wrote:

http://mysite.verizon.net/bradley.phillyboy22/if.gif
I've wanted to see this block for a while.  In this mock-up, I forgot to put + and - buttons on the top for more or less options.  This would replace nesting the


<if>
<else>
<end>
blocks.

Last edited by Rexpup (2011-03-17 09:31:18)


http://i.imgur.com/QQH4J.gif

Offline

 

#12 2011-04-08 17:05:34

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

Re: A few block ideas that I haven't seen

we don't need "do nothing for (  ) seconds" because we already have "wait (   ) seconds" unless do nothing pauses ALL scripts tat may be useful also another thing good could be "Stop a certain script" with maybe a peg that slots into starting blocks


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

 

#13 2011-04-08 17:55:45

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: A few block ideas that I haven't seen

One.

The two top ones need reporter sockets and reporters.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

Board footer