Hi Dave, Hi list

here is the code i'm working on. should you run it it'll move the sprite along a 
parabolic shape. 

on enterFrame me
  fullStageHeight = the stageBottom - the stageTop
  fullStageWidth  = the stageRight  - the stageLeft
  halfStageHeight = fullStageHeight / 2
  halfStageWidth  = fullStageWidth  / 2
  a = halfStageHeight *0.90
  sprite(4).locH = 75
  sprite(4).locV = 163
  
  repeat with n = -1500 to  1500
    t = float(n)/float(1500)
    sprite(4).locH = 1.0* a * (t   0.05) halfStageHeight/2
    sprite(4).locV = 2.0  * a * (t * t  0.05)
    sprite(4).rotation = n/10
    updateStage
  end repeat  
end enterFrame


thanks

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to