Discuss Scratch
- src4443
-
57 posts
VBScript - like Dialog Boxes
What I am sugestion is a block that makes a dialog box
OK only
Yes No Cancel
Yes No
Retry Cancel
Input (has a field where you can enter text that will be set as dialog box answer and a OK button to close)
Critical (Has a error symbol at the side)
Question (Has a question mark at the side)
Information ( has a I at the side)
All the others (like Yes No) describe buttons. Question, Critical and Information have just a OK button.
To prevent user form spamming dialog boxxxxxxes around the screen, you can only have 10 at a time and not drag them out of the Scratch Editor or player. The block should be maybe sensing or maybe an extension
Also, there should be a
Also to keep it more intuitive for kids, when for example yes is chosen the dialog box answer will be set to yes, not 6 (For OK OK too and not 1 and for the others too)
Dialog Box type [OK Only v] text () title ()There, you can choose between NOT ALL THE CONSTANTS but:
OK only
Yes No Cancel
Yes No
Retry Cancel
Input (has a field where you can enter text that will be set as dialog box answer and a OK button to close)
Critical (Has a error symbol at the side)
Question (Has a question mark at the side)
Information ( has a I at the side)
All the others (like Yes No) describe buttons. Question, Critical and Information have just a OK button.
To prevent user form spamming dialog boxxxxxxes around the screen, you can only have 10 at a time and not drag them out of the Scratch Editor or player. The block should be maybe sensing or maybe an extension
Also, there should be a
(Dialog Box answer)(Not a variable but sensing or extension blocks)
Also to keep it more intuitive for kids, when for example yes is chosen the dialog box answer will be set to yes, not 6 (For OK OK too and not 1 and for the others too)
Last edited by src4443 (May 5, 2022 13:23:53)
- 7salad3salad
-
1000+ posts
VBScript - like Dialog Boxes
I believe you can use the
say [ ]block on an invisible sprite if you want to make a dialog box.
- historical_supa
-
1000+ posts
VBScript - like Dialog Boxes
Where would the dialogue box go and how would it look like?
Besides from that, I think this is a good idea, since it's not easy to code it yourself. Maybe this could use arrow keys or the mouse/clicking to determine the answer. Mockups:
Besides from that, I think this is a good idea, since it's not easy to code it yourself. Maybe this could use arrow keys or the mouse/clicking to determine the answer. Mockups:
set mode to [typewriter v] :: extension // Options would be typewriter (with a typewriter effect) and normal (no typewriter effect).I can see many uses for this!
dialog box with text [] with type [OK v] :: extension
dialog answer :: extension reporter
Last edited by historical_supa (May 5, 2022 23:20:12)
- src4443
-
57 posts
VBScript - like Dialog Boxes
It cannot have buttons like yes or no and the I believe you can use thesay [ ]block on an invisible sprite if you want to make a dialog box.
ask [] and waitlooks just to bad
- 7salad3salad
-
1000+ posts
VBScript - like Dialog Boxes
Still, text engines exist.It cannot have buttons like yes or no and the I believe you can use thesay [ ]block on an invisible sprite if you want to make a dialog box.ask [] and waitlooks just to bad
You can try and use some by -Rex- and just add your own buttons.
- src4443
-
57 posts
VBScript - like Dialog Boxes
It's still hard to style and you cannot drag it around.Still, text engines exist.It cannot have buttons like yes or no and the I believe you can use thesay [ ]block on an invisible sprite if you want to make a dialog box.ask [] and waitlooks just to bad
You can try and use some by -Rex- and just add your own buttons.
- m3rdpower
-
29 posts
VBScript - like Dialog Boxes
It would be more easy, but as every one else says you can use the
say []
- k0d3rrr
-
1000+ posts
VBScript - like Dialog Boxes
Probably also: Mockups:set mode to [typewriter v] :: extension // Options would be typewriter (with a typewriter effect) and normal (no typewriter effect).
dialog box with text [] with type [] :: extension
dialog answer :: extension
(answer:: extension) // Returns the previous value entered. (E.g. "Hello world")
- historical_supa
-
1000+ posts
VBScript - like Dialog Boxes
Oh wait, I forgot to make it a reporter. Darn it.Probably also: Mockups:set mode to [typewriter v] :: extension // Options would be typewriter (with a typewriter effect) and normal (no typewriter effect).
dialog box with text [] with type [] :: extension
dialog answer :: extension(answer:: extension) // Returns the previous value entered. (E.g. "Hello world")
- InternetExplorer8
-
100+ posts
VBScript - like Dialog Boxes
I support it would be really useful in my opinion and I'd personally use it for my game Sharp Clicker, I think it would help a lot!
- Silicobra
-
100+ posts
VBScript - like Dialog Boxes
How would those dialog boxes look like??
Dude, those typos…
Dude, those typos…
Last edited by Silicobra (May 5, 2022 15:24:47)
- k0d3rrr
-
1000+ posts
VBScript - like Dialog Boxes
You know the classic Windows dialog boxes that say “Critical error”, or “Warning”, or something like that? How would those dialog boxes look like??
Dude, those typos…
That's what's being suggested here, but for Scratch.
- src4443
-
57 posts
VBScript - like Dialog Boxes
Yes ( @Silicobra )You know the classic Windows dialog boxes that say “Critical error”, or “Warning”, or something like that? How would those dialog boxes look like??
Dude, those typos…
That's what's being suggested here, but for Scratch.
- Silicobra
-
100+ posts
VBScript - like Dialog Boxes
ummm, bump!
Last edited by Silicobra (May 12, 2022 05:00:01)