I'm new at this and I'm trying to make a game where a Pikachu runs and dodges falling pokeballs, and I've encountered two problems:
ONE: I have no idea how to make the pokeballs fall from the sky.
TWO: I somehow messed it up so that my Pikachu runs infinetly in the direction I choose.
If anyone knows how to help, I would greatly appreciate it.
P.S. You can find my game it's called Poke.IO if you want to see how it's going wrong.