Hi all.  Any idea why this works:

Shoes.app do
 monkey = image "./monkey.png", :top => 10, :left => 10
 circle = oval 10,10,10,10
 animate 10 do |eep|
   monkey.top += 2
   circle.top += 1.9
 end
end


But this doesn't:

Shoes.app do
 monkey = image "./monkey.png", :top => 10, :left => 10
 circle = oval 10,10,10,10
 animate 10 do |eep|
   monkey.top += 1.9
   circle.top += 2
 end
end


In the first example, the monkey moves 2px and ther circle monves 1.9px
In the second, the monkey disappears and the circle moves 2px


Reply via email to