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

#1 2009-01-15 16:05:52

g8rghr
Scratcher
Registered: 2007-11-03
Posts: 100+

Ideas for new blocks

Some scripts I make are a pain to make because there aren't certain blocks I can use. I have some ideas for blocks that would make it a little bit easier to script certain things.
Her are the blocks I want:

Number blocks I want:
Factorial (!) blocks, like 9!= (9*8*7*6*5*4*3*2*1)

Value blocks, like the value of -9 is 9, the value of 9 is 9, the value of -5 is five, and the value of 5 is 5

Exponent variables, like 9 squared or 9 to the second power, or 3 to the 3d power

Motion blocks:

Point towards x: and y: blocks. I hate it when I have to make a new sprite to have it so that it goes to wherever you want another sprite to point at.

Make blocks that make it so that if the sprite touches another sprite, it bounces, instead of just it bouncing when it hits the edge

Sensing blocks:

Blocks that sense if a certain color is touching a certain sprite

Blocks that sense if another sprite is touching another sprite

Blocks that sense the color of the pen or background on a certain x and y location

Blocks that sense if a certain sound is being played

Blocks that sense the distance from one sprite to another

Blocks that sense the nearest distance to a certain sprite, instead of the distance from each sprites' rotation centers

For the if _____ button pressed, add more buttons you can press, like the shift button, the backspace button, the enter button, or the shift button and another button

Sound blocks:

Blocks that restart a certain sound

Blocks that stop a certain sound

Blocks that pause or un-pause a certain sound

Pen blocks:

Blocks that fill pen in a certain closed area

Blocks that clear all of the pen on the background but still remembers, or saves, what the pen looked like

Blocks that put pen on sprites instead of the background that moves with the sprite, for things like games where you draw but you have to scroll, because you can't scroll the background

Blocks that set the pen color to the color of the background on a certain x and y location

Blocks that make the sprite stamp itself without the stamp disappearing when the sprite hides or changes its ghost effect

Blocks that set the pen color to a mix between a certain color and the color of the pen on a certain x and y location, and/or set the pen color to a mix between two x and y locations, like mixing yellow and blue up and getting green

Looks Blocks

Blocks that set a certain effect to the effect of another sprite

Last edited by g8rghr (2009-01-15 16:14:03)


http://scratch.mit.edu/static/projects/g8rghr/1635124_sm.png  http://scratch.mit.edu/projects/g8rghr/1635124 My new number one project: ZOMBIES! Based on the Zombies from Call of Duty. Check it out!

Offline

 

#2 2009-01-15 16:25:33

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: Ideas for new blocks

For "Value Blocks" are you reffering to absolute value? If so, it already exists under "Numbers." <abs( Number )

Offline

 

#3 2009-01-15 19:08:45

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Ideas for new blocks

factorial blocks: see this project: http://scratch.mit.edu/projects/bhz/382082 (ref 1)
abs: see Zelda's post
exponents: use link above
point toward x: y: do it the hard way
another sprite is touching color: use broadcasts
another sprite is touching another sprite: broadcasts
distance from another sprite to another sprite: use variables
set effect to effect of another sprite: use variables

Offline

 

Board footer