A seemingly trivial task!

Jim Ford jaford at watford53.freeserve.co.uk
Wed Apr 23 00:28:37 PDT 2003


On Mon, Apr 21, 2003 at 04:10:43PM +0200, Andreas Raab wrote:

> There are two problems with your script. One is that setting the heading to
> 180 will not make the ellipse "point back" to where it originally came from

Thanks, forgot that Heading is absolute - referenced to the 'World', not
relative to the objects current heading! 

> Try something like this instead:
> 	Ellipse's x <- 100 + random 10.
> 	Ellipse's y <- 100 + random 10.
> This will make the ellipse jiggle by 10 pixels around 100,100.

Much better - thanks again!

Regards: Jim Ford



More information about the Squeakland mailing list