Discuss Scratch
- Discussion Forums
- » Suggestions
- » My Suggestions (Updated 8/22/14)
- seanbobe
- Scratcher
500+ posts
My Suggestions (Updated 8/22/14)
plusmove mouse to x: () y: () // category=motion
Bad idea as it breaks down hand/eye coordination for the user.
foreverand u cannot leave project
move mouse to x: (0) y: (0) // category=motion
end
- sam54123
- Scratcher
23 posts
My Suggestions (Updated 8/22/14)
a “for” loop?
say [I will now read out "list"] for (2) secsThat would make the program say the first item of “list” for two seconds, then the second, and so fourth.
for [list v]: (thing)
say (thing) for (2) secs
end
- sam54123
- Scratcher
23 posts
My Suggestions (Updated 8/22/14)
If you can show the player themselves, why not record it!
[start v] recordingThis would record a video of the user, then play it back to them. The record block would have a warning just like the username block.
wait (10) secs
[stop v] recording
set [video v] to (video)
switch [video v] to (video)
wait (length of (video)) secs
switch [costume v] to (1)
- sam54123
- Scratcher
23 posts
My Suggestions (Updated 8/22/14)
(That first video variable was suppose to be red)
- sam54123
- Scratcher
23 posts
My Suggestions (Updated 8/22/14)
mabye
take picture
switch costume to (picture)
- 1234abcdcba4321
- Scratcher
1000+ posts
My Suggestions (Updated 8/22/14)
Use the edit button please
I'd highly appreciate it if you were to follow me. Don't forget to go to my profile.
All of my programming suggestions <— You should really get the suggestions move back to the suggestions forum!
Five hundred posts! I never expected to get up there… In only 2-3 months.
Does anyone know what a signature is? I mean, I've already seen 6-7 people get confused.
- 1234abcdcba4321
- Scratcher
1000+ posts
My Suggestions (Updated 8/22/14)
plusmove mouse to x: () y: () // category=motion
Bad idea as it breaks down hand/eye coordination for the user.foreverand u cannot leave project
move mouse to x: (0) y: (0) // category=motion
end
I think there should be a function to move the mouse.lrn2readkthxbaimove mouse to x: () y: () // category=motionTo make it possible to leave projects, it would only work if you're focused on the game. You could press esc to leave the project, and it gives you a warning about how to use esc to stop it. (Like the username block.)
You should read the whole suggestion.
I'd highly appreciate it if you were to follow me. Don't forget to go to my profile.
All of my programming suggestions <— You should really get the suggestions move back to the suggestions forum!
Five hundred posts! I never expected to get up there… In only 2-3 months.
Does anyone know what a signature is? I mean, I've already seen 6-7 people get confused.
- sillyshae19
- Scratcher
6 posts
My Suggestions (Updated 8/22/14)
If this was possible you would be able to get an epic matrix Green…. IN NEON!!!
when green flag clicked
forever
set pen color to random between (num1) and (num2)
go to (x:variable) (y:variable)
change [num1+num2^y:variable v] by (x:variable)
set (num1+num2^y:variable v) to (num1^2)
end
Last edited by sillyshae19 (March 16, 2014 09:58:25)
- sam54123
- Scratcher
23 posts
My Suggestions (Updated 8/22/14)
for loop?
say [I will now readout list] for (2) secs
for [list v] (thing)
say (thing) for (2) secs
end
- Zambonifofex
- Scratcher
100+ posts
My Suggestions (Updated 8/22/14)
let me fix that:
for [variable v] untill <> add (10) :: control cstart
...
:: cend
You've just lost The Game
Click here to check out an awesome game, Patapony
- meowmoo
- Scratcher
500+ posts
My Suggestions (Updated 8/22/14)
actually: let me fix that:for [variable v] untill <> add (10) :: control cstart
...
:: cend
for [variable v] untill <(variable) = []> add (10) :: control cstart
...
:: cend
Last edited by meowmoo (March 16, 2014 15:41:28)
- alex082
- Scratcher
38 posts
My Suggestions (Updated 8/22/14)
I know about nor and xor , etc.NOT support you on these.People won't know about xor, nand and nor. I dochange x by (10)
set x to (0)
change y by (10)
set y to (0)change [variable v] by (1)
set [size v] effect to (0)
change [size v] effect by (25)
I DO want these though.<[ARM32] is a [scratcher v]?> // category=sensing
([post v] number of [ARM32]) // category=sensing
<is [ARM32] a guest?> // category=sensing
I ALSO want these.<[message1 v] received?> // category=events
<I am a [clone v]?> // category=control
<<> xor <>> // category=operators
<<> nand <>> // category=operators
<<> nor <>> // category=operators
- Tramcrazy
- Scratcher
100+ posts
My Suggestions (Updated 8/22/14)
That's why I couldn't find it!Yes, BUT NO ONE SEEMS TO NOTICE THAT I REMOVED THOSE TWO BLOCKS FROM THE LIST.The problem is that this would cause discrimination with people making projects only for people who have as many followers as they have. This means it will lead to mean comments. The only use I can see for these 2 blocks is making sure New Scratchers don't try to get into a cloud project and spend hour trying to work out why it won't work (though the flash up at the top makes it quite obvious).One set of scratchblocks for you:
…There should be some more in-depth user sensors:<[Should be boolean] is a scratcher?> // category=sensingOh, and that dropdown should have follower and following in it. As well as shared project.
([I'm not too sure about this]'s [post v] count) // category=sensing
Put the +, -, *, /, and mod blocks into a single block with a dropdown….
.if <not <(username) is a scratcher?>>
say [Sorry, this project is for scratchers only.] for (2) secs
stop [all v]
end
Which is why this would not work very well.
Or,if <((username)'s [follower v] count) < [50]>Of course people could just get around this by using “See Inside”, but what if the script this was in was really complicated?
say [Sorry, you have to be popular to view this project.] for (2) secs
stop [all v]
end
-Tramcrazy
PS: Apologies for any errors in the above post.
Links:
The Commute: Test your mouse skills by getting the car to its destination.
Interactive characters: Converse with a pair of fictional character who react to what you say.
Magic 8 ball: What is your fortune?
Randomized mental maths test: Test your brain.
A signature is a small piece of text that is attached to your posts. In it, you can enter just about anything you like.
- ev3commander
- Scratcher
500+ posts
My Suggestions (Updated 8/22/14)
actually:actually: let me fix that:for [variable v] untill <> add (10) :: control cstart
...
:: cendfor [variable v] untill <(variable) = []> add (10) :: control cstart
...
:: cend
for [variable v] until <(variable) = []> add (10) :: control cstart
...
:: cend
- ev3commander
- Scratcher
500+ posts
My Suggestions (Updated 8/22/14)
IMPORTANT! DO NOT POST YOUR OWN IDEAS IN THIS THREAD!Well, we can't do this:
If you're quoting the post, please only quote areas of relevance. Seriously, it fills up the page really quickly.
Non-workaroundable things are in red.
THINGS PEOPLE NEVER, EVER READ ARE IN BOLD.
I think the “If on edge, bounce” block should just be “bounce if <>”.bounce if <> // category=motionI think there should be a function to move the mouse.move mouse to x: () y: () // category=motionTo make it possible to leave projects, it would only work if you're focused on the game. You could press esc to leave the project, and it gives you a warning about how to use esc to stop it. (Like the username block.)
Make size an effect.change [size v] effect by (25)Why not add an eraser mode to pen?
set [size v] effect to (0)Set pen mode to [draw v] // category=penIt would have draw, erase, and off.
It would replace pen up and pen down.
Easy pen color controls:set pen [hue v] to () // category=penIt would have hue, brightness, colorness (saturation), red, green, and blue.
change pen [red v] by () // category=pen
It would replace those blocks… You know which ones I'm talking about, right?
I think you should be able to hide/show the mouse.[show v] [mouse-pointer v] :: looks // first dropdown has show hide show-flippedThe second dropdown would include all sprites.
The variable and list tabs are too big. Change the variable and list blocks to one block with a dropdown:([variable v]) // category=variablesHow about some advanced stuff?
([list v]) // category=listset [variable v]'s display type to [normal v] // category=variablesHow about boolean variables? They would be faster to work with than normal variables in = boxes.
set [variable v]'s slider min to [] // category=variables
set [variable v]'s slider max to [] // category=variables
([variable v]'s [slider min v] ::variables) // slider min, slider max, display type, x pos, y pos
move [variable v] to x: () y: () // category=variables
move [list v] to x: () y: () // category=list
resize [list v] to () pixels wide and () pixels tall // category=list
<variable [variable v] is showing?> // category=variables
<list [list v] is showing?> // category=list<boolean variable> // category=variablesReplace the length of list with a new block:
set [boolean variable v] to <>([length v] of [list v] :: list) // length, area, width, height, x pos, y posThe video has on-flipped, so why not show-flipped?[show-flipped v] variable [variable v] // category=variablesNow, a new section: Arrays!
[show-flipped v] list [list v] // category=list
Arrays would have several options:Name of array: []Now, in the dimensions option, 0 creates a variable, 1 creates a list. Otherwise, you get an array.
Dimensions in array: ()
Pick one:
() for this sprite only
() for all sprites
() cloud (scratchers only)
As they're more complicated, I think they should be able to be edited easily with an edit menu like custom blocks.
Arrays of more than 2 dimensions would have NO visual indicator.
Arrays would have similar blocks as lists:
- The () contains () and add () list blocks would support arrays with it's dropdown.
– The add block would insert it at spot 1 in every dimension.
- In 2D arrays, the same visual blocks as lists would be available, too.
- New blocks:shift [item] () places in dimension () of [array v] // Does what you'd think it doesAn array begins with an empty queue.
bring [item] to place () in dimension () of [array v] // Effectively the set function for the above
delete [item] in [array v] // Do you need to know what it does?
[show v] array [array v] // 2D arrays only
(length in dimension () of [array v]) // self-explanatory
(total amount of items in [array v]) // also self-explanatory
[add v] dimension () from queue of [array v] // add, remove, add-flipped. This is needed for the next block.
item (), (), () of [array v] // The dimensions used would be the dimensions in queue.
Because it's complicated, if you have more than one of the same item in an array, it would just do it for all of them.
And don't forget the actual array block. It would have to be more complicated than the list block, though.
I think the when [] > () block should be simple: When <>.when <>:: events hatTo help with the when green flag clicked block, there should be a block for when someone leaves the project. It would be a full-scratcher only block and would only trigger if the user is a full scratcher.when project left :: events hatThe only reason why I want it is to change cloud data.
How about a “Link to” block? It would be full scratchers only and would have a confirmation message (also with a “Don't accept links this session” option that makes the confirmation message disappear and no others to show up, making you not go to any links)Link to [link.link/link] // category=controlI also think we should have an “auto-copy” block. It would automatically copy what's in the textbox.
In addition, something to detect what's in clipboard. (Credit to @CodeLegend) (Semi-workaroundable)copy [thing] to clipboard // category=controlHere's a not-confusing way for a broadcast received? boolean. (or two)
(clipboard ::sensing) // maybe control?
<color [#f0f] is touching [sprite v]?> // I think this block would be useful.([message1 v] received in last (1) secs? :: sensing) // perhaps event?I want a boolean:
(last broadcast received :: sensing) // same here too...<[sprite v] is showing?> // category=sensingAdvanced timer settings!(timer (1) :: sensing) // yes the number is for multiple timersThe event block that uses the timer could be split a bit more.
[reset v] timer (1) :: sensing // reset start and stop
How about a “stop asking” block?Stop asking // category=sensingHmmm, I wonder what these would do?<[left v] mouse down? :: sensing> // left middle rightA small update to this reporter block…
<[sprite v] is [say v]ing? ::sensing> // say think ask([layer v] of [sprite v]) // returns which layer the sprite is in.And what about this?
([size effect v] of [sprite v]) // and don't forget the other effects!(what [sprite v] is saying ::sensing) // Returns what the sprite is saying/thinking/askingI can't think of a better wording.
There should be more key sensing: tab, Lctrl, Rctrl, Lshift, Rshift, Enter, Backspace, any letter, any number. I'd also like -=\;',./ alt and the F keys, along with any symbol. Any would also be helpful. (Only workaroundable by hacking, but everything should be allowed without hacking)when [tab v] key pressedPut the +, -, *, /, and mod blocks into a single block with a dropdown.
if <key [Lshift v] pressed?> then
say [YAY!!!!!](() [+ v] ()) // category=operatorsMerge the =, >, and < blocks.<[] [= v] [] ::operators> // it's booleanRemove the round block and put it in the dropdown directly below it.([round v] of (9) ::operators)A ^ block would also be useful. With that, the 10^, log, e^, ln, and sqrt functions wouldn't be required. (It would also be in the dropdown.)(() [^ v] ()) // category=operatorsDropdowns in custom blocks.define I want [thing]sThe options would be:
I want [dropdown v]s // category=custom
Sprite
Variable
List
Broadcast
Costume
Backdrop
Sound
Custom
Custom dropdowns would allow you to type in what's in the dropdown.
Custom reporters. These would be simple reporter blocks.
There would be a new return block, and a new define block.define reporterThis says the value of the block. If the script reaches the bottom, it would return what's in the return block at the bottom. (Where you drag the return block from). Same if a “stop script” block is used in the custom reporter.
reporter :: cstart custom // part of the define block
{return [block] :: cap custom} :: cap cend // eh, good enough.
Artwork here, in the original thread
Also, C-block and hat block customs. (Oh wait, that's not possible with normal programming? Who cares )define C/hat blockNext up, global custom blocks.
{run ::custom} ::custom // since I can't put this anywhere else
stuff ::grey
run ::custom
stuff ::grey
run ::custom
stuff ::grey
They would run for the sprite they were placed in. It would be activated as a checkbox in the options menu.
And finally, local variables.
In the custom block option screen, there would be a new option: “Add local variable”. This would give the script it's own variable. What pressing the button, you would be able to name it, but that's it.
The vars would be accessible in dropdowns once the blocks are dragged into the script.
Number 3, look at it for art; don't forget to support the suggestion!
You should make it so that: empty boolean spot = true, then list that somewhere. (So <not <blank>> would return false)
Some blocks have too easy workarounds.<not <>>
<<...> = [false]> // yes that's a boolean spot...
(variable)
([variable v] of [sprite/stage v])
(x position)
([x position v] of [sprite v])
(y position)
([y position v] of [sprite v])
(direction)
([direction v] of [sprite v])
(costume #)
([costume # v] of [sprite v])
// I could keep going on and on and on...
Now enhanced with new scratchblocks!
Now with coloring!
Well, I think that's about it.
((e) [^ v] ()) // category=operators, or can we?!?
- alex082
- Scratcher
38 posts
My Suggestions (Updated 8/22/14)
Better this thing…
Reload page
Last edited by alex082 (March 21, 2014 20:41:46)
- meowmoo
- Scratcher
500+ posts
My Suggestions (Updated 8/22/14)
but then:
Better this thing…Reload page
forever
reload page
end
define reload page //ignore this
stop [ v]
Last edited by meowmoo (March 21, 2014 20:48:04)
- sam54123
- Scratcher
23 posts
My Suggestions (Updated 8/22/14)
my for loop has a workaround.
set [current v] to [1]
repeat until <(current) = (length of [list v])>
set [thing v] to (item (current) of [list v])
change [current v] by (1)
say (thing) for (2) secs
end
Last edited by sam54123 (March 21, 2014 22:22:30)