Discuss Scratch
- Discussion Forums
- » Suggestions
- » Stageless Scratch (Terminal output)
- A-MARIO-PLAYER
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
This is NOT programming Scratch in text, and thus is not rejected. It's outputting Scratch projects in a terminal.
———————
So I've had an idea. Most programming languages don't have a Scratch-style “stage.” Scratch is intended to allow others to branch off to more mainline programming languages. I've came up with an idea. We could add the ability to turn off the stage and replace it with some sort of terminal. Turning off the stage removes these features which depend a LOT on the graphical stage:
These blocks are added when stage is disabled:
Stage can be disabled through the Edit menu. However, this can only be done on projects that use none of the features removed yet (besides sprites that have no code,) as with many important features literally locked out, converting between a stage-based project and terminal-based project is almost impossible.
———————
So I've had an idea. Most programming languages don't have a Scratch-style “stage.” Scratch is intended to allow others to branch off to more mainline programming languages. I've came up with an idea. We could add the ability to turn off the stage and replace it with some sort of terminal. Turning off the stage removes these features which depend a LOT on the graphical stage:
- well, the stage
- Sprites and costumes
- Motion category
- Pen and Video Sensing extensions
- Most of the Sensing blocks
- All current Looks blocks, but the category isn't removed since this adds more blocks
- Clones
- Sprite pane. Completely greyed out. We could replace it with more terminal or code editing space, but idk about anything else
These blocks are added when stage is disabled:
print [Hello!] :: looks
set [text v] color to [#CC0000] :: looks
set [background v] color to [#00CC00] :: looks
clear terminal effects :: looks
set text size to (50) :: looks // Only affects new lines
clear screen :: looks
Stage can be disabled through the Edit menu. However, this can only be done on projects that use none of the features removed yet (besides sprites that have no code,) as with many important features literally locked out, converting between a stage-based project and terminal-based project is almost impossible.
Last edited by A-MARIO-PLAYER (Sept. 2, 2024 19:47:54)
- starlightsparker
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
Interesting, but how would the pen work?
- A-MARIO-PLAYER
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
(#2)pen would just be removed
Interesting, but how would the pen work?
we could add an alternative pixel art method but idk what else
Last edited by A-MARIO-PLAYER (Sept. 2, 2024 18:10:55)
- A-MARIO-PLAYER
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
Last edited by A-MARIO-PLAYER (Sept. 2, 2024 23:20:37)
- breakfast_for_dinner
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
would a newline be printed along with the string in the print block? what if i wanted to make the letters appear one by one?
what if i wanted to change text color in the middle of the sentence?
removed some questions - up to the devs
edit: i think this is my 1000th post counting dustbinned ones
what if i wanted to change text color in the middle of the sentence?
removed some questions - up to the devs
edit: i think this is my 1000th post counting dustbinned ones
Last edited by breakfast_for_dinner (Sept. 3, 2024 07:05:17)
- A-MARIO-PLAYER
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
(#6)actually let me revise this block:
would a newline be printed along with the string in the print block? what if i wanted to make the letters appear one by one?
what if i wanted to change text color in the middle of the sentence?
would there be a scrollbar so i can see offscreen text?
would i be able to highlight and copy text?
would i be able to change the text (not the stage) background?
would i be able to make text italic, bold, and underlined?
print [Hi] :: looksand yes there would be a scrollbar and you can copypaste since its rendered in a div instead of canvas
print [Hi] with new line :: looks
Last edited by A-MARIO-PLAYER (Sept. 3, 2024 06:58:55)
- DifferentDance8
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
I was going to suggest using a list, but that's an absolutely terrible workaround as it has no text or background colours. I was also going to suggest a text engine, but the ones that exist currently are extremely messy and too hard to incorporate in a big project. I guess in this case it's a massive support.
Last edited by DifferentDance8 (Sept. 3, 2024 07:43:08)
- starlightsparker
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
Would be helpful to have opened with the stage for debuggingThis isn’t possible in the current suggestion.
- bsteichman
-
Scratcher
500+ posts
Stageless Scratch (Terminal output)
support! there's always the text engine workarounds but this will definitely help the transition to other languages
- SpyCoderX
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
Very interesting, but it seems a bit too limited. Would be viable if it let you put it on the stage itself. Like how pen works, but better resolution and as text only.
But that’s just my opinion.
But that’s just my opinion.
Last edited by SpyCoderX (Sept. 3, 2024 20:58:51)
- SpyCoderX
-
Scratcher
1000+ posts
Stageless Scratch (Terminal output)
Very interesting, but it seems a bit too limited. Would be viable if it let you put it on the stage itself. Like how pen works, but better resolution and as text only.Actually, it might work as an extension (not browser kind) which has a “toggle terminal mode” block.
But that’s just my opinion.
- 235x
-
Scratcher
100+ posts
Stageless Scratch (Terminal output)
I think clones should not be disabled in terminal mode, since clones are still useful in some cases, a shame I can't think of any right now.
But either way, this could be good; Support.
But either way, this could be good; Support.
Last edited by 235x (March 7, 2025 11:43:05)
- 235x
-
Scratcher
100+ posts
Stageless Scratch (Terminal output)
I also think we should keep sprites or rather add another way to organize code since sprites are a great way to organize code so we could probably replace sprites with tabs for code/scripts.
- Discussion Forums
- » Suggestions
-
» Stageless Scratch (Terminal output)