Computer Science Canada

Help needed

Author:  moon15 [ Thu Mar 26, 2009 5:49 pm ]
Post subject:  Help needed

was wondering if any one knows how i can make a picture slide down the screen
the post link would be helpful

Author:  saltpro15 [ Thu Mar 26, 2009 5:52 pm ]
Post subject:  RE:Help needed

you'll have to be a bit more precise, what exactly do you mean by making a picture slide down the screen? for example, creating an image with Pic.FileNew and moving it downwards with a for loop?

Author:  Tony [ Thu Mar 26, 2009 5:52 pm ]
Post subject:  RE:Help needed

use a for loop to draw a picture at different places, over time.

Author:  moon15 [ Thu Mar 26, 2009 5:58 pm ]
Post subject:  RE:Help needed

well like its for a game i have to make so im trying to figure out how to upload the image because it says theres an error with the file name and how to make it slide down

Author:  saltpro15 [ Thu Mar 26, 2009 6:09 pm ]
Post subject:  RE:Help needed

can you post your code please, with the proper syntax tag? for reference that looks like
code:

[syntax="Turing"]
put code here <------------
[/syntax]

Author:  moon15 [ Thu Mar 26, 2009 6:15 pm ]
Post subject:  RE:Help needed

Turing:

Pic.FileNew ("C/Users/omar/Desktop/Turing 4.1.1/IMAGES/ghost.bmp") <------------


i put this and the image wont load and also i think i found how to make the an image move in the tutorial

Author:  saltpro15 [ Thu Mar 26, 2009 6:19 pm ]
Post subject:  RE:Help needed

erm, the arrow was just a visual aid, you don't actually need it... but that's good you found a tutorial, if you have more questions feel free to ask

Author:  moon15 [ Thu Mar 26, 2009 6:21 pm ]
Post subject:  RE:Help needed

um one more thing bro like im puttin in this code but it keeps telling me the last bracket is an error yet when i remove it ,turing says to insert a bracket to end the procedure

Author:  The_Bean [ Thu Mar 26, 2009 6:31 pm ]
Post subject:  Re: Help needed

Well Pic.FileNew() is a function and returns a value. So you need a variable before it to equal it.
Also you shouldn't use the full path of the image, but its place relative to the turing file. This way it will work wherever it is.
If you're going to use the full path, you might be missing a ':' 'C:\'

Turing:

var pic : int := Pic.FileNew ("path")

Author:  moon15 [ Thu Mar 26, 2009 6:35 pm ]
Post subject:  RE:Help needed

kai it worked thnx alot to evry one


: