So you suggest that i add into my MINIBALL code the following INCLUDES THE OLD ONE
Now i cant move. Also what do you mean when
Thanks!
1 2 3 4 5 6 7 8 9 10 11 12 | void move() { if (getY() == 400 && Greenfoot.isKeyDown( "SPACE" )) { setLocation(getX(), getY() - 4 ); } |
danpost wrote...
The '400' should be whatever y-coordinate the mini-ball has when triggered to the main ball.