Computer Science Canada

Transition from frame to frame

Author:  Ronald [ 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,

Author:  kousha41564 [ 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


: