This site requires JavaScript, please enable it in your browser!
Greenfoot back

EPICxFAIL-_'s Comments

Back to EPICxFAIL-_'s profile

Comment on what type of gun you want after level 3 (the third time new asteroids show up on the screen)
Fix Crows AI when it's only crow, he doesn't move anywhere, just attacks and stands there, and gets hit around just an update :)
@JetLennit sonic is already in the game
Add someone from Pokemon, from the DC Universe, from the Marvel world,
leftPaddle.getY(); & rightPaddle.getY(); instead of just paddle.getY();
Adding a "Laser" or "Ray gun feature". Once I get the bullets to shoot quicker in succession then I'll update it
And yea, any question you have i can help with, and there is a better way to make to ball bounce with control. To where the method in ball is detectPaddle(), instead of: if (rightPaddle!= null) { deltaX = deltaX * (-1) - 1; deltaY = deltaY - 1; } if (leftPaddle!= null) { deltaX = deltaX * (-1) + 1; deltaY = deltaY + 1; } try: if (rightPaddle!= null) { deltaX = -deltaX; int offset = getY() - paddle.getY(); deltaY = deltaY + offset/10; } if (leftPaddle!= null) { deltaX = -deltaX; int offset = getY() - paddle.getY(); deltaY = deltaY + offset/10; } it allows the player to control what way the ball will bounce by where the ball hits on the paddle
it's no bother at all, i was posting most of the code for my college visit today for computer science. so it was urgent for me xD
ADDED A SHOTGUN TIMER FOR LEVEL 2, IT DISAPPEARS WHEN YOU'RE OUT OF SHOTS