Hello everyone.
I'm new to any kind of coding and such, and I've been browsing this forum for a while now.
So far, after a couple of days reading around, being on in my spare time, I stumbled upon a problem. I created something that looks kinda a 2d platform game, in its very early stage. What I have problem with now is to stop the player from moving, in any kind of direction.
I used this:
action move_left1()
{
while (!key_k) wait(1);
while (1)
{
if (key_k) Player2.y -= 1 * time_step;
else Player2.y = 0 * time_step;
wait (1);
}
}
well, thats about it for now.
Thanks for reading.
-Harstad-
Last edited by Harstad; 07/18/08 00:56.