TNT Basic Forums > Games In Progress
trouble with my game
< Last Thread     Next Thread >
Thread        Post A Reply

05-24-2008 16:16

Posted by:

Click Here to Email kastner18   Find more posts by kastner18

I'm writing a game where you are a mouse running around the screen to collect cheese while a cat is trying to catch you.

there are currently two problems with my game and i hope you can help me fix them.

1) you are supposed to have 3 lives and when you get hit by the cat the game calls a procedure that says "life=life-1"
i declared the integer life to =3 at the top of the program but after you get hit once the game ends.

2) the user moves the mouse with the arrow keys, and the cat is supposed to follow you so i said
"move sprite 3,mousex,mousey,speed" but the cat doesn't move to the left or upwards.

please respond if you know how to fix one or both of these problems.

Thank you

05-25-2008 02:49

Posted by:

Click Here to Email appleide   Find more posts by appleide

Hmm, it'd be nice if I could see the relevant code.

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.