|
Re: The bouncing sound: msg#00166lang.smalltalk.squeak.beginners
Hi, Mark, What you're hearing is not a sound associated with the "bounce" but rather a sound associated with an object hitting the "fence". The "fence" is a feature that makes a "forward" command which would take an object beyond the edge of its container result in the the object's jiggling back into the field of view, accompanied by a special "fence" sound. The intent is to reduce the incidence of "runaways" when beginners write scripts using "forward" which rapidly take an object beyond an edge of its container, thus making it disappear. When using "bounce", it's advisable to *disable* the "fence", because the interactions between the logic of the two features can produce confusing results. Use the world's "playfield options" menu to disable the fence. However, without the fence, in your student's example, there seem to be situations in which the the paddle overshoots the boundary and disappears. I think you could eliminate these situations by slightly reducing the factor used in the paddle's script1. In the olpc/etoys image, there's an added preference that suppresses the fence *sound*, thus allowing the fence feature to be used to keep an object within its container's bounds but without the annoyance of hearing the "fence" sound. But this is not in 3.9. These two features -- a container's "fence" feature and the ability for a moving object to request "bounce" -- have always, unhappily, been somewhat in conflict. For the "next" system we expect to have a much more harmonious and consistent and understandable way of offering such things. BTW, unless you have a compelling reason to be using 3.9, and particularly if tile-scripting is the main focus of your class I suggest that you have your students use a Squeakland image rather than a 3.9 or 3.10, simply because extensive enhancements, fixes, and documentation for tile-scripting ("etoys") are available in the Squeakland images. But if you do decide to switch, it's probably best to wait a short while until the "new Squeakland image" gets released. This will be based on the OLPC-etoys image, which is the system in which all the advances in etoys have been made over the past 18 months -- hundreds of bug-fixes, feature-enhancements, performance improvement, example projects, tutorials, and other documentation, plus a large user community. Cheers, -- Scott On Feb 20, 2008, at 8:29 PM, polishookm wrote: Scott,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Recap: How to empty a collection, Klaus D. Witzel |
|---|---|
| Next by Date: | [Election 2008] Nominations end tomorrow! Final call..., goran |
| Previous by Thread: | Re: The bouncing sound, Scott Wallace |
| Next by Thread: | Re: The bouncing sound, polishookm |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |