Computer Science Canada

I'm trying to make a new picture created when no keys are pressed. HELP PLEASE

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

Author:  bubb4h0t3p [ 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?

Author:  Tony [ 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.


: