Lessons 1-6 Keyboard Glitch Question for Chili

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
vegasbilly
Posts: 1
Joined: November 24th, 2012, 4:01 am

Lessons 1-6 Keyboard Glitch Question for Chili

Post by vegasbilly » November 24th, 2012, 4:08 am

Hi Chili, let me first say your program tutorials are fabulous. I am just starting your tutorials and I seem to have a strange glitch when dealing with moving the targeting reticule around the screen.
When I press the right, up, and down arrows, everything moves fine. But, when I press the left arrow it moves right all by itself even if I take my finger off the left key. The only way to stop it form moving is to push the right arrow key. I tried an experiment and reversed the x variable. What happens then is that when I press the right key it moves by itself to the left and when I push the left key it moves normally. I am not quite sure what is wrong, I have looked at the code multiple times and everything seems to be right. Thanks for your time and if you can help with this dilemma I would greatly appreciate it.

Sincerely,

Billy

adabo
Posts: 154
Joined: October 27th, 2012, 3:28 am
Location: Houston, Texas

Re: Lessons 1-6 Keyboard Glitch Question for Chili

Post by adabo » November 24th, 2012, 8:20 am

Hello, vegasbilly. Welcome!

Have you seen the Read this first sticky? We can help you better if you post your code as instructed: http://www.planetchili.net/forum/viewtopic.php?f=3&t=2

Post Reply