Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Animations that reveal photo in background
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
IamPillzbury




PostPosted: Tue Apr 21, 2015 8:26 pm   Post subject: Animations that reveal photo in background

What is it you are trying to achieve?
I want to have an animation where two black boxes slide from the center up and center down with a certain photo as background


What is the problem you are having?
The animations do not run when I draw the photo inside

Describe what you have tried to solve this problem
I've tried to drawing the photo within the loop but the animations do not work at all


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)


Turing:

Draw.FillBox(0,0,640,400,black)
loop
delay(10
 Draw.FillBox(0,intY,640,intY1,white)
intY:=intY-5
intY1:=intY1+5
exit when intY<0

end loop



Please specify what version of Turing you are using
4.1.1
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Tue Apr 21, 2015 10:52 pm   Post subject: RE:Animations that reveal photo in background

Quote:
I want to have an animation where two black boxes...


Then why are you drawing one white box?
IamPillzbury




PostPosted: Wed Apr 22, 2015 8:39 am   Post subject: Re: RE:Animations that reveal photo in background

Insectoid @ Tue Apr 21, 2015 10:52 pm wrote:
Quote:
I want to have an animation where two black boxes...


Then why are you drawing one white box?


Was testing the animation and to show what I meant to do
Insectoid




PostPosted: Wed Apr 22, 2015 12:43 pm   Post subject: RE:Animations that reveal photo in background

Have you tried drawing two black boxes instead?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: