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

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




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
saltpro15




PostPosted: 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?
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
moon15




PostPosted: 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
saltpro15




PostPosted: 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]
moon15




PostPosted: 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
saltpro15




PostPosted: 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
moon15




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
The_Bean




PostPosted: 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")
moon15




PostPosted: Thu Mar 26, 2009 6:35 pm   Post subject: RE:Help needed

kai it worked thnx alot to evry one
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  [ 10 Posts ]
Jump to:   


Style:  
Search: