Re: Funny Moves

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Mon, 20 Nov 2000 21:02:55 -0800, Thomas wrote:

>Hi all.
>
>I've been working on a simple program that uses get_key() to "move" a
bitmap. It does this by going through a loop to check if the right key has
been pressed and moves it right or left accordingly in increments of 1.
What I'd like to know, is why when I go "left" three times, then
hit "right" it goes left once more, then right. Why is this? And how can I
fix it?
>
>-Thanks
>-Thomas

Thomas,

I'd rather not venture to guess where your problem lies without first
examining your code.

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu