[Etoys] "player's" becomes "nil's"; value types

Markus Schlager m.slg at gmx.de
Thu Sep 25 14:43:50 EDT 2008


Hi all,

I encountered the following phenomenon, which IMO is quite irritating.
It's about "player"-Tiles in scripts with a parameter (screenshots 
attached).

I made an empty script with a player-typed parameter an added a basic 
method and varaiable-assignment (EllipseTalkTo1.png):

Ellipse>>talkto: player
   Ellipse forward:5
   Ellipse's heading :=0

Then I drag player-tiles off the parameter-area to replace the 
Ellipse-tiles (EllipseTalkTo2.png):

Now it looks like

Ellipse>>talkto: player
   Player forward:5
   nil's heading :=0

It _should_ look like

Ellipse>>talkto: player
   player forward:5
   player's heading :=0

Then I change the parameter-type to sth. different and back 
(EllipseTalkTo3.png, EllipseTalkTo4.png): "Player" and "nil" become "dot":

Ellipse>>talkto: player
   dot forward:5
   dot heading :=0

The _should_ be:

Ellipse>>talkto: player
   dot forward:5
   dot's heading :=0

I repeat step two an drag 'player'-tiles to replace the 'dot'-tiles. Now 
it looks like (EllipseTalkTo5.png)

Ellipse>>talkto: player
   Player forward:5
   Player heading :=0


It _should_ look like

Ellipse>>talkto: player
   player forward:5
   player's heading :=0

So there are three problems:

- Should "player" be capitalized everywhere or nowhere?
- Why does "player's" become "nil's" at the beginning?
- Why is "'s" missing from the moment at which "dot" appears?

And finally I have a request from the point of localization: All 
value-types of variables or parameters should get marked translatable. At 
the moment this is true for 'Color' and 'Sound' only.

Markus
-----------------------------------------------
  Markus Schlager                  m.slg at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EllipseTalkTo5.png
Type: image/png
Size: 5037 bytes
Desc: 
Url : http://lists.laptop.org/pipermail/etoys/attachments/20080925/68f0a6c5/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EllipseTalkTo4.png
Type: image/png
Size: 4731 bytes
Desc: 
Url : http://lists.laptop.org/pipermail/etoys/attachments/20080925/68f0a6c5/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EllipseTalkTo3.png
Type: image/png
Size: 4659 bytes
Desc: 
Url : http://lists.laptop.org/pipermail/etoys/attachments/20080925/68f0a6c5/attachment-0007.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EllipseTalkTo2.png
Type: image/png
Size: 4936 bytes
Desc: 
Url : http://lists.laptop.org/pipermail/etoys/attachments/20080925/68f0a6c5/attachment-0008.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EllipseTalkTo1.png
Type: image/png
Size: 5075 bytes
Desc: 
Url : http://lists.laptop.org/pipermail/etoys/attachments/20080925/68f0a6c5/attachment-0009.png 


More information about the Etoys mailing list