5 ms·
> It's very, very difficult to do things as simple as display a number on screen. I suppose I might be missing something, but if you just care about displaying
by falcor84 4y ago
> It's very, very difficult to do things as simple as display a number on screen.
I suppose I might be missing something, but if you just care about displaying the number, rather than any particular styling, you can just show the variable, right?
- yCombLinks 4y agoShow the variable how? There's not a console, there's not a way to simply display a string or character. Scratch revolves around programming sprites to do things
- djsrv 4y agoTick the checkbox next to the variable in the block palette. That creates a variable watcher on the stage. You can also right-click the watcher to change it to a large readout, displaying the variable contents within a minimal frame.
- easrng 4y agoAlso if you get Scratch Addons (https://scratchaddons.com/ https://scratchaddons.com/) and enable the Debugger addon it adds a console and blocks to log to it.
- AzzieElbab 4y agoSomething as simple as this should not require add-ons. This isnt js and `leftPad` you know
- mynameisvlad 4y agoWhy would kids need a full debugger with console? That's far from "simple".
- Snild 4y agoEvery variable has a checkbox they makes it show on screen: https://en.scratch-wiki.info/wiki/File:Checkbox_to_show_or_hide_variable.png https://en.scratch-wiki.info/wiki/File:Checkbox_to_show_or_h... There is also a command block to show or hide it dynamically.
- tmaly 4y agoYou could also display it with a say or think block.
- ryankrage77 4y agoJust have a sprite 'say' the variable
- dtagames 4y agoYou cannot. A sprite can "say" a value by showing it near them, bit that's it. There's no place to write anything or create a UI, hence the complaint.