Computer Science Canada

Need Help in my Program

Author:  salehyassin [ Wed Jun 04, 2008 9:36 pm ]
Post subject:  Need Help in my Program

Hey Guys.

I am working in a program similar to super mario, a jumping game.
I am facing a problem and I coudn't know how to solve so if you can help me I will be very thank full.

My Problem is:
I made the blocks where the penguin can jump on. You can see them in my program the first three blocks

Now I can jump fine on the ground but when I stand on the blocks, I can't jump any more.
Here is my program.

Thank You.

Author:  SNIPERDUDE [ Thu Jun 05, 2008 6:46 am ]
Post subject:  RE:Need Help in my Program

this line here might be the problem:
code:

if chars (KEY_UP_ARROW) and posy = GROUND_HEIGHT and chars (KEY_CTRL) then


: