Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Create own block" dropdown list
- cwkethan1508
-
100+ posts
"Create own block" dropdown list
Support with little mockup with quotes
Custom block: (example)
replace all of list
- with Chose your dropdown:
list
variables
brodcast message
etc.
custom:
enter the dropdowns
- Charmind
-
500+ posts
"Create own block" dropdown list
idea for this
define [dropdown v]AND SUPPORT
[up]::cstart custom
command::custom
[down]::celse
command::custom
[left]::celse
command::custom
[right]::celse
command::custom
↓ ↑::cend // that makes dropdown longer or shorter
- LattleKada
-
100+ posts
"Create own block" dropdown list
I [support v] ::custom
I [support more than powerbot v] ::custom
- CGRises
-
500+ posts
"Create own block" dropdown list
I [support v] ::customI [support more than powerbot v] ::custom
I [support v] more than [LattleKada v] ::custom
- DaSpudLord
-
1000+ posts
"Create own block" dropdown list
I [support v] ::customI [support more than powerbot v] ::customI [support v] more than [LattleKada v] ::custom
I [support v] more than (((powerbot) + (LattleKada)) + (CGRises))::custom
Last edited by DaSpudLord (Aug. 12, 2015 21:43:10)
- MushroomMan99
-
100+ posts
"Create own block" dropdown list
Support. Definitely come in useful for some projects.
- ItchyCatIII
-
500+ posts
"Create own block" dropdown list
My suggestion is simple: that when you create your own block, along with boolean, string and number input, you were allowed to do a dropdown list like this:define move [direcion]▾
if <(direction)=[up]>
point in direction (0 v)
move (10) steps
end
if <(direction)=[down]>
point in direction (180 v)
move (10) steps
end
when green flag clicked
move [down v]
You would create it like this:
https://dl.dropboxusercontent.com/u/17754076/Scratch/Dropdown%20list.png
I was actually about to suggest this, so support!
In the scratch blocks that I quoted, I assume that the direction blocks are supposed to be purple. Therefore, there would have to be a way to get that variable after the creation of the block.
Anyway, I have an improvement to the suggestion. Maybe Scratch could have a list of pre-made dropdown menus. These would include:
Your sprites
Your variables
Events
Directions (maybe)
And anything else that scratch feels is necessary.
I am not seeing how people New to Scratch would find this complicated. Maybe changing the name would make it more complicated, so it should just be “dropdown menu”.
On the other hand, I do imagine that this would be extremely challenging to the developers to make.
So, support, if it can be made. If not, then I'll have to learn how to use “hacked blocks”.
- Cream_E_Cookie
-
1000+ posts
"Create own block" dropdown list
I [support v] ::customI [support more than powerbot v] ::customI [support v] more than [LattleKada v] ::customI [support v] more than (((powerbot) + (LattleKada)) + (CGRises))::custom
I [support v] more than [DaSpudLord v] :: custombtw Daspudlord, i think you forgot to close your sb tags
- DaSpudLord
-
1000+ posts
"Create own block" dropdown list
btw Daspudlord, i think you forgot to close your sb tagsThanks for the reminder, fixed them.
- Zarlog
-
100+ posts
"Create own block" dropdown list
I [support v] ::customI [support more than powerbot v] ::customI [support v] more than [LattleKada v] ::customI [support v] more than (((powerbot) + (LattleKada)) + (CGRises))::customI [support v] more than [DaSpudLord v] :: custombtw Daspudlord, i think you forgot to close your sb tags
I[support v] more than [Cream_E_Cookie v] :: custom
Last edited by Zarlog (Aug. 13, 2015 17:53:55)
- scrooge200
-
1000+ posts
"Create own block" dropdown list
I [support v] ::customI [support more than powerbot v] ::customI [support v] more than [LattleKada v] ::customI [support v] more than (((powerbot) + (LattleKada)) + (CGRises))::customI [support v] more than [DaSpudLord v] :: custombtw Daspudlord, i think you forgot to close your sb tagsI[support v] more than [Cream_E_Cookie v] :: custom
I [support v] more than [Zarlog v]::custom
- Cythral
-
100+ posts
"Create own block" dropdown list
excellent idea, like function parameters. though instead of a dropdown, it should be text input, with the ability to put a variable in that input field.
- Cythral
-
100+ posts
"Create own block" dropdown list
sorry I havent used scratch in a while, forgot that already existed SO instead of having those if blocks, make it its own control structure
- Discussion Forums
- » Suggestions
-
» "Create own block" dropdown list