Discuss Scratch

IronBit_Studios
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

I was thinking that Scratch should have a “Print” function:
print [] :: pen
It would work as it does in other languages, printing the input.
There would also be related blocks to support it:
newline :: pen

set print font to [ v] :: pen

set print size to ( v) :: pen

set print colour to [#ff0000] :: pen

set print boldness to ( v) :: pen // I forgot this block. 0 is super light, 100 is super thick.

print [] to x:() y:() :: pen // Suggested by Pot-Of-Gold and Samanyolu

set print [ v] effect to () :: pen
change print [ v] effect by () :: pen // Blocks suggested by Samanyolu

P.S. I know this can be workroundable, but it's REALLY tedious…

Last edited by Paddle2See (Sept. 15, 2023 20:01:05)


Pot-of-Gold
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

support

IronBit_Studios wrote:

I was thinking that Scratch should have a “Print” function:
print [] :: pen
It would work as it does in other languages, printing the input.
There would also be related blocks to support it:
newline :: pen

set print font to [ v] :: pen

set print size to ( v) :: pen

set print colour to [#ff0000] :: pen
P.S. I know this can be workroundable, but it's REALLY tedious…
Fixed


Click to play
thelucariokid
Scratcher
100+ posts

"Print ___" Block (30+ Supporters)

Do you mean text? If so, support.

____ ____
<●> <●>

________

Zro716
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

just one missing detail… where does it print to?

As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.
Pot-of-Gold
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

Zro716 wrote:

just one missing detail… where does it print to?
Maybe it prints starting at the sprite:
Maybe:
print [] at x: () y; () :: pen


Click to play
Cosmicstars-
Scratcher
100+ posts

"Print ___" Block (30+ Supporters)

Support!

Cosmicstars-
My suggestion: None
My projects: …
100 posts ??/??/????
200 posts ??/??/????
300 posts Soon.
Let's bring back
(user id ::sensing)
Support us!
IronBit_Studios
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

Zro716 wrote:

just one missing detail… where does it print to?
It prints where the sprite is at, similarly to the pen.

IronBit_Studios
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

thelucariokid wrote:

Do you mean text? If so, support.
Yeah, that's what I mean. It's basically the Print function from the Text-based languages.

rollercoasterfan
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

Support, but couldn't use a text editor that's been made in Scratch already?














when [chromometer altimeter v] = [5th length v] and [7th length v] with a [gap v] of (17) ::events hat
forge [chromometer v] altimeter until < (speed) = (velocity)> ::control cstart
switch places with (759 v) altimeters with value of (speed) ::looks
control [altimeter 1 v] at time (10):(17):(58) ::control
end
initialize sequence (24) so [object 3 v] moves to x (156) y (231) ::control
reveal [final answer v] and stop running this script ::events cap
Pot-of-Gold
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

I also support for a print at x: () y: ()
and removing the 60 second rule

Last edited by Pot-of-Gold (June 30, 2015 22:48:28)



Click to play
Eastu
Scratcher
47 posts

"Print ___" Block (30+ Supporters)

I SO AGREE

Like Comics? Eastu Comics

Like Games? Tag Rush

Like Animations? Whenever I Make A Project

Come To Eastu for fun!
IronBit_Studios
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

rollercoasterfan wrote:

Support, but couldn't *you use a text editor that's been made in Scratch already?
Read my PS. I'm aware of it, it's just really annoying to implement and fiddle around with. Way more complex compared to a block.

IronBit_Studios
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

Pot-of-Gold wrote:

I also support for a print at x: () y: ()
and removing the 60 second rule
1:
go to x: () y: ()
print [] :: pen
2: Denied as a spamblock. Maybe for 500-1000+ posters, but put that in a new topic.

duckboycool
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

Support workarounds are about 100+ blocks!
And the 60 second rule

Last edited by duckboycool (July 1, 2015 18:17:10)


I used to be active on the forums, but I have mostly moved past Scratch. I still do check my Scratch messages, so if you'd like to talk to me, just leave a comment on my profile. My main project on Scratch was Cookie Clicker, but my newest project is Snake Snake, a game based off of Snake, but with two snakes, and you can play either singleplayer or multiplayer.

Pot-of-Gold
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

IronBit_Studios wrote:

Pot-of-Gold wrote:

I also support for a print at x: () y: ()
and removing the 60 second rule
1:
go to x: () y: ()
print [] :: pen
2: Denied as a spamblock. Maybe for 500-1000+ posters, but put that in a new topic.
Uh I was joking
and, it might interfere with some games.


Click to play
thecontestmagic
Scratcher
19 posts

"Print ___" Block (30+ Supporters)

Surport


IronBit_Studios
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

Pot-of-Gold wrote:

IronBit_Studios wrote:

Pot-of-Gold wrote:

I also support for a print at x: () y: ()
and removing the 60 second rule
1:
go to x: () y: ()
print [] :: pen
2: Denied as a spamblock. Maybe for 500-1000+ posters, but put that in a new topic.
Uh I was joking
and, it might interfere with some games.
After my workaround, you could revert to the old position and keep going.

MushroomMan99
Scratcher
100+ posts

"Print ___" Block (30+ Supporters)

Support. If you can do this in Java, you should be able to do it in Scratch.

when green flag clicked
if <(language) = [English ]> then

say [Everything is Awesome!] for (2) secs
end
if <(language) = [French ]> then

say [Tout est super-genial!] for (2) secs
end
if <(language) = [Italian ]> then

say [E meraviglioso!] for (2) secs
end
if <(language) = [Spanish ]> then

say [Todo es fabuloso!] for (2) secs
end
purplebook163
Scratcher
500+ posts

"Print ___" Block (30+ Supporters)

Support!



You can ask me anything, even if it's not Scratch related, on my profile. Use this cloud to write out cloud variables in the forums. ☁

Desktop: My browser/operating system: Windows 7, Firefox 38.0 and/or Chrome 43.0.2357.130, Flash 18.0 (release 0);
Dad's Laptop: My browser/operating system: Windows 7, Firefox 38.0 and/or Chrome, Flash 18.0 (release 0);
Tablet: My browser/operating system: Android Linux 4.4.2, Chrome 43.0.2357.93, No Flash version;
My Lapotop: , Flash 24.0 (release 0)

See a flappy bird game I made. Let me know if you beat my high score of 2!
IronBit_Studios
Scratcher
1000+ posts

"Print ___" Block (30+ Supporters)

Bump

Powered by DjangoBB