top of script window
smoke rings code snippet | show it | return |
on rising x
  -- some kings for sprites 1 to x 
  repeat with n = x down to 1
  
    if the locV of sprite n < -5 then 
      -- rise off the top, move them to the bottom
      set the rect of sprite n = rect(30,325,55,342)      
    else   
      -- raise and resizde the smoke rings
      set the locV of sprite n to the locV of sprite n - 12 + n
      set the width of sprite n to the width of sprite n + 2
    end if
    
  end repeat
end
This is code written not to be re-purposed! The effect is to make 3 some rings rise and spread as they do so.

lingo era = v5 Not recommended for non-smokers ;-)