logo       

Re: Moving an object inside another object with respective to cursor positi: msg#00135

lang.smalltalk.squeak.beginners

Subject: Re: Moving an object inside another object with respective to cursor position

Bert Freudenberg wrote:
Other than that, it's just some math.

For this kind of thing (something like the eyes that follow your mouse) would it just be math (calculating a certain distance from the center of the object you're over) or would use an objects "colorUnder" at all?

After playing with "colorUnder" in some experiments last night, I'm leaning toward math, but I'd prefer to hear it from an expert. I'd prefer it so I could also ask: what kind of situation is "colorUnder" best used for?

--
Andrew Burton
tuglyraisin@xxxxxxx
http://utilitarian.us - A Guide to Esoteric Technology in Paragon City
http://jarodrussell.livejournal.com/ - Take a guess. ;)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise