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

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




PostPosted: Mon May 18, 2009 2:08 pm   Post subject: Help~

What is it you are trying to achieve?
Trying to move a picture across screen vertically and have user press when the object gets to a certain point
button and the object will dissapear point

What is the problem you are having?
I have no exp


Describe what you have tried to solve this problem
nothing >.>


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

Turing:


<Add your code here>



Please specify what version of Turing you are using
4.0.5
Sponsor
Sponsor
Sponsor
sponsor
zero-impact




PostPosted: Mon May 18, 2009 3:39 pm   Post subject: RE:Help~

Have you tried asking your teacher or classmates for help?

Anyways, what you want to do is have a loop that is continually changing the position of the picture and then checking to see if the user has pressed a button.
DtY




PostPosted: Mon May 18, 2009 3:56 pm   Post subject: RE:Help~

You can also look to see how other people have done it: http://compsci.ca/v3/viewforum.php?f=48
Look for dance dance revolution or guitar hero or something that includes the source.
tjmoore1993




PostPosted: Mon May 18, 2009 4:11 pm   Post subject: Re: RE:Help~

DtY @ Mon May 18, 2009 3:56 pm wrote:
You can also look to see how other people have done it: http://compsci.ca/v3/viewforum.php?f=48
Look for dance dance revolution or guitar hero or something that includes the source.


You shouldn't spoon fed him. He hasn't shown any effort to make a proper topic and read the rules. Also there is a tutorial that would help him a lot.

Input.KeyDown: Check the link out for more help on movement.
DtY




PostPosted: Mon May 18, 2009 4:22 pm   Post subject: Re: RE:Help~

tjmoore1993 @ Mon May 18, 2009 4:11 pm wrote:
DtY @ Mon May 18, 2009 3:56 pm wrote:
You can also look to see how other people have done it: http://compsci.ca/v3/viewforum.php?f=48
Look for dance dance revolution or guitar hero or something that includes the source.


You shouldn't spoon fed him. He hasn't shown any effort to make a proper topic and read the rules. Also there is a tutorial that would help him a lot.

Input.KeyDown: Check the link out for more help on movement.

I don't think it's spoon feeding him, I'm not saying he should c&p out of one of their programs, I'm just saying that a good method to learn this stuff is to look at existing programs. If you're looking to write novel, a good start is reading other novels of the same genre.

[edit] Granted, he should have put more effort into solving it before he posted a topic.
LostUser




PostPosted: Mon May 18, 2009 9:49 pm   Post subject: Re: Help~

Didn't think Input Key Down would be the solution I was looking for, I don't want to control anything really, my program is something similiar to guitar hero <,<
so I didn't think Input Key Down would help at all, but thanks anyways.
Kharybdis




PostPosted: Tue May 19, 2009 3:05 pm   Post subject: RE:Help~

InputKeyDown would be needed if you were going for multiple buttons ...
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  [ 7 Posts ]
Jump to:   


Style:  
Search: