Discuss Scratch

TroyDotNet
New Scratcher
2 posts

Why do some blocks in scripts have empty text/selection fields?

My 7 y/o son and I are new to Scratch and are enjoying it very much. One question I have been unable to answer is why some blocks have empty text/selection fields in scripts that we view? The scripts work but I'm not sure where the values are coming from.

For example, in the tank game via http://scratch.mit.edu/projects/1254430/, many of the scripts have text/selection fields that are empty. Take the Tiger_Turret sprite, for instance: it contains 2 script blocks. The Forever block contains 2 “If Key Pressed” blocks that have empty text fields yet the script correctly responds to key presses for the “z” and “c” keys for left & right rotation. Thus, where are “z” and “c” stored in the script? The tank game mentioned above contains many other block sections that contain empty text/selection fields and yet the game works.

Bottom line: where is the script storing the data for the empty text/selection fields?

Thanks!

Last edited by TroyDotNet (May 26, 2013 12:48:13)

TroyDotNet
New Scratcher
2 posts

Why do some blocks in scripts have empty text/selection fields?

SOLVED: It seems that the text/selection fields aren't really empty but they are simply displaying as empty when viewed in Chrome version 27 (the most recent version). The fields display the actual data when viewed in Internet Explorer or Mozilla Firefox.

I will post a bug report on the Bugs and Glitches forum.
dracae
Scratcher
1000+ posts

Why do some blocks in scripts have empty text/selection fields?

Oh, it's the Disappearing Text Bug, that has been haunting Scratch for ages…
lacrosseboss99
Scratcher
34 posts

Why do some blocks in scripts have empty text/selection fields?

since it is solved you can close the discussion
medians
Scratcher
1000+ posts

Why do some blocks in scripts have empty text/selection fields?

lacrosseboss99 wrote:

since it is solved you can close the discussion
This was from 2013 and the disappearing text bug was fixed sometime after that, the original poster probably forgot about this.

Powered by DjangoBB