Hi all,


I want to move an object from the up
left to the botton right and this
image starts small and finishes bigger
for example, so it changes the width
and the height proportionally. It
doesn't work with the rect(l,t,r,b).

obs.: the moving part is already working:

(sprite(gLogo).loc=sprite(gLogo).loc+1)

ON desloca2

  global gLogo,gLogoh,gLogov





  if
sprite(gLogo).loc<point(gLogoh,gLogov)
then

    repeat while
sprite(gLogo).loc<point(gLogoh,gLogov)


sprite(gLogo).loc=sprite(gLogo).loc+1



      updatestage


    end repeat





  else

    if
sprite(gLogo).loc>point(gLogoh,gLogov)
 then

      repeat while
sprite(gLogo).loc>point(gLogoh,gLogov)



sprite(gLogo).loc=sprite(gLogo).loc-1


        updatestage

      end repeat

    end if
  end if

tks
Nica


 
__________________________________________________________________________
E-mail gr�tis BOL com antiv�rus! Fa�a j� o seu!
http://www.bol.com.br



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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