Better basketball
So I've been working on my Odyssey² basketball game about all day today, taking a break to go to my haircutting appointment. I came back and began work on it again. I got the guys to be able to shoot the basketball. If they miss, they can pick it up with the Action button. A bug is that if player 2 presses Action while not touching the ball while player 1 is touching the basketball, player 1 picks it up. I'm deciding to leave this in because I don't know how to fix it.
Right now I have it when it comes to Action presses, if player 1 presses Action and player 2 has the ball, he is trying to steal it. If player 1 presses Action and has the ball, he will shoot it. Vice versa for player 2. I need to work on scoring next.
I had to make the nets sprites and not characters for techincal reasons. So now all my sprites are used up, but the game looks even better than before.
The green guy's basket is the left one, the blue guy's is on the right. No matter where the guy is standing, he will always shoot towards his basket. This is really hard to do, after I get in scoring, I need to tweak the shooting code so it works better.
0 Comments
Recommended Comments
There are no comments to display.