[Etoys-notify] #9115 NORM Not Tri: Etoys: "bearing to" and "distance to" tiles is calculated based on the top-left corner.

Zarro Boogs per Child bugtracker at laptop.org
Sun Dec 14 10:13:31 EST 2008


#9115: Etoys: "bearing to" and "distance to" tiles is calculated based on the top-
left corner.
----------------------------+-----------------------------------------------
 Reporter:  minekoa         |                 Owner:  etoys        
     Type:  defect          |                Status:  new          
 Priority:  normal          |             Milestone:  Not Triaged  
Component:  etoys-activity  |               Version:  not specified
 Keywords:                  |           Next_action:  never set    
 Verified:  0               |   Deployment_affected:               
Blockedby:                  |              Blocking:               
----------------------------+-----------------------------------------------
 In etoys 3.0 / latest update: !#2160.

 The "bearing to" tile and the "distance to" tile (observation category) is
 calculated based on the top-left corner. It is usually on the rotation
 center.

 About the source of this difference. In "distance to" tile's code:

 {{{
 Player >> distanceToPlayer: aPlayer
     ^ costume positionInWorld dist: aPlayer costume positionInWorld
 }}}

 This code used #positionInWorld to get aPlayer's position, but it should
 use #referencePositionInWorld message.

 "Player >> bearingTo:" method has similar miss.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9115>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Etoys-notify mailing list