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

Username:   Password: 
 RegisterRegister   
 I'm trying to make a new picture created when no keys are pressed. HELP PLEASE
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Hamns




PostPosted: Tue Jan 06, 2015 9:36 pm   Post subject: I'm trying to make a new picture created when no keys are pressed. HELP PLEASE

What is it you are trying to achieve?
I'm making a platform game, and when no keys are pressed, I want to have my character get out of the running picture, and go into a standing picture.
I have no clue how to do this. What I have so far is horrible. I have no idea. Thanks for your help!

procedure backhack1
Pic.Draw (back_scale, onex, oney, picCopy)
Pic.Draw (back2_scale, twox, twoy, picCopy)
Pic.Draw (manstand_scale, X, Y, picMerge)
View.Update
end backhack1

if chars ('') then
backhack1
delay(100)
Draw.Cls
View.Update
end if
Turing 4.1.1
Canada Razz Razz Very Happy Very Happy
Sponsor
Sponsor
Sponsor
sponsor
bubb4h0t3p




PostPosted: Thu Jan 22, 2015 10:22 pm   Post subject: RE:I\'m trying to make a new picture created when no keys are pressed. HELP PLEASE

Is this all of your code?
Tony




PostPosted: Thu Jan 22, 2015 11:37 pm   Post subject: RE:I\'m trying to make a new picture created when no keys are pressed. HELP PLEASE

There's a boolean not operator. Using the else clause of an if-statement might also be useful.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 3 Posts ]
Jump to:   


Style:  
Search: