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

Username:   Password: 
 RegisterRegister   
 Transition from frame to frame
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Ronald




PostPosted: Sun Jan 11, 2009 1:09 am   Post subject: Transition from frame to frame

Hi there:

I am very new to Turing. The asignment I am working on is a 4 pictures comic strip. After a lot of work I have finished each of the strips and all the animations work properly. The problem now is that I have to put together the 4 frames and move from one to the next using a key. I have been trying for 2 hours with no result.

I have used Input.KeyDown and it works fine when I have only 2 frames (it moves from the 1st to the 2nd when I hit Enter), but when I add a 3rd page it goes from the 1st to the 3rd without showing the 2nd

I hope you understand what I need (English is not my 1st language) and really hope that somebody can help me.

Thanks,
Sponsor
Sponsor
Sponsor
sponsor
kousha41564




PostPosted: Sun Jan 11, 2009 1:27 am   Post subject: RE:Transition from frame to frame

alright. i hope you knwo waht a procedure is.

so just make four procedures with each cmic strip in them. so:

code:


procedure First_Scene
complicated code stuff goes here (your animations)
end First_Scene


procedure Second_Scene
complicated code stuff goes here (your animations)
end Second_Scene

procedure Third_Scene
complicated code stuff goes here (your animations)
end Third_Scene

procedure Fourth_Scene
complicated code stuff goes here (your animations)
end Fourth_Scene



now you use the input key down in an if statement. so IF enter is pressed THEN Fourth_scene. and then you end if. this should likely work. if it dosnt sorry, i didnt see your code so i am not able to see what you are doing right/wrong
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  [ 2 Posts ]
Jump to:   


Style:  
Search: