There needs to be a block that reports the distance to the edge of the screen. Also, there should be a way to name a large number of sprites the same thing, so you can do simulations of herds, flocks, etc.
Offline
Having a single "distance to edge" operator would be confusing---which edge do you mean?
Distance to a specific edge of the screen is fairly easily computed now:
distance to right edge = 240-<xposition>
distance to left edge = <xposition>+240
distance to top edge = 180-<yposition>
distance to bottom edge = <yposition>+180
Simulating herds and flocks would be a really good use for multiple instantiation of flocks. Currently, I recommend starlogo for such simulations (free from http://education.mit.edu/starlogo), though the version I have on my Mac is rather buggy and crashes a lot, so I don't use it with kids (other than my son). The starlogo people have decided to put all their efforts onto using the latest and greatest versions of java, so their stuff is unlikely to run on any school computers (except in the very richest schools).
Offline