Discuss Scratch

MrPringleV4
Scratcher
3 posts

What Was The First Scratch Block

69696969609
TheAutocorrectingCat
Scratcher
1000+ posts

What Was The First Scratch Block

Please provide more context.
The first Scratch block ever publicly available doesn't exist, as most were released at the same time (with some updated).
plantskym2
Scratcher
500+ posts

What Was The First Scratch Block

TheAutocorrectingCat wrote:

Please provide more context.
The first Scratch block ever publicly available doesn't exist, as most were released at the same time (with some updated).
That was their question, I think they didn't understand that blocks came at the same time.
The blocks in scratch were released at the same time.
ametrine_
Scratcher
1000+ posts

What Was The First Scratch Block

TheAutocorrectingCat wrote:

Please provide more context.
The first Scratch block ever publicly available doesn't exist, as most were released at the same time (with some updated).
they could mean “what was the first block that was added to the scratch source code”
BigNate469
Scratcher
1000+ posts

What Was The First Scratch Block

ametrine_ wrote:

TheAutocorrectingCat wrote:

Please provide more context.
The first Scratch block ever publicly available doesn't exist, as most were released at the same time (with some updated).
they could mean “what was the first block that was added to the scratch source code”
Which probably only @mres knows, and considering that it's been a little more than 21 years since he started development on it, he might not remember either.
DifferentDance8
Scratcher
1000+ posts

What Was The First Scratch Block

Purely a guesstimate, but I would say the green flag block was the first one to have been added as it's also the most important one.
han614698
Scratcher
1000+ posts

What Was The First Scratch Block

DifferentDance8 wrote:

(#6)
Purely a guesstimate, but I would say the green flag block was the first one to have been added as it's also the most important one.
The original scratch build did not have a green flag block.
DifferentDance8
Scratcher
1000+ posts

What Was The First Scratch Block

han614698 wrote:

DifferentDance8 wrote:

(#6)
Purely a guesstimate, but I would say the green flag block was the first one to have been added as it's also the most important one.
The original scratch build did not have a green flag block.
Oh.
I actually saw that build, I can't believe I forgot
Still, at least the move steps block is there in some capacity.
CST1229
Scratcher
1000+ posts

What Was The First Scratch Block

From looking at the Squeak changes file in Scratch 8Dec03 (11Oct03 doesn't have a .changes file so you can't see its code history), the first block I could find referenced was 'forward %n' (from 3/15/2003), which would later become the move () steps block. So this might be one of, if not the earliest actual block added (aside from testing block stuff):
forward [10] :: #63b5ce
The runner up is the early set variable block (where the variable name is currently embedded in the block text itself instead of being a dropdown), from 3/17/2003:
set variable to [10] :: #63b5ce

And then:
// 3/21/2003. imagebox blocks. file and undo
load [fileName] :: #63b5ce
save [fileName] :: #63b5ce
revert :: #63b5ce
undo :: #63b5ce

// pixel operations
pixel x (10) y (10) :: #63b5ce reporter
first pixel :: #63b5ce
next pixel :: #63b5ce
no more pixels :: #63b5ce reporter

// movie
frameCount :: #63b5ce reporter
show frame (10) :: #63b5ce
forward (10) frames :: #63b5ce
start :: #63b5ce
stop :: #63b5ce

// image and movie
zoom (10) :: #63b5ce
pan x(10) y(10) :: #63b5ce
scale (10) :: #63b5ce
offset x(10) y(10) :: #63b5ce
fade color[#ff0000] by(10) percent :: #63b5ce
fade color[#ff0000] to(10) percent :: #63b5ce
unfade :: #63b5ce
border color[#ff0000] :: #63b5ce

// 4/28/2003: general sprite blocks. control
if [true] {
}:: #ff9431 // boolean inputs used to work more like dropdowns that look like text inputs
forever {
}:: #ff9431
repeat (10) {
} :: #ff9431
until [true] {
} :: #ff9431
while [true] {
} :: #ff9431
wait (10) :: #63b5ce

// math
(10) + (10) :: #63b5ce reporter
(10) - (10) :: #63b5ce reporter
(10) * (10) :: #63b5ce reporter
(10) / (10) :: #63b5ce reporter
(10) mod (10) :: #63b5ce reporter
(10) \< (10) :: #63b5ce boolean
(10) = (10) :: #63b5ce boolean
(10) > (10) :: #63b5ce boolean

// logic
[true] and [true] :: #63b5ce boolean
[true] or [true] :: #63b5ce boolean
not [true] :: #63b5ce boolean

Last edited by CST1229 (Nov. 16, 2024 10:22:51)

ywps181513
Scratcher
97 posts

What Was The First Scratch Block

There isn't much information about the first ever block on Scratch. But the first ever version on Scratch contains some of the earliest block in Scratch Development.

Powered by DjangoBB