This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-11-08 09:39:35

Darf
Scratcher
Registered: 2008-11-08
Posts: 1

Sprite going wild!

Hi
Im busy making a project where you have to fly the bird.
The bird goes up and down with the correct keys, but a bit into the project, it starts to suddenly go wild and fly higher and lower than I ask it, going off the side of the screen many times... whats happening?

Offline

 

#2 2008-11-08 10:09:08

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Sprite going wild!

Darf wrote:

Hi
Im busy making a project where you have to fly the bird.
The bird goes up and down with the correct keys, but a bit into the project, it starts to suddenly go wild and fly higher and lower than I ask it, going off the side of the screen many times... whats happening?

If you are using the "When () Key Pressed" block to drive the action, you might be having trouble with your computers keyboard buffer.  It might be storing up your keystrokes.  A better approach to using keys to control is shown in this project

http://scratch.mit.edu/projects/Paddle2SeeFixIt/168376

It's hard to say for sure what your problem is without looking at the project.  Maybe you could Share it to the website?


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer