Playing some Pong!
Getting the project ready.
- Make a new Eclipse Project called Pong (not a package or class though)
- Download pong
- Import pong.jar
- When importing pong.jar it will ask if you if you want to overwrite a couple of files, just click yes or yes to all
Make some modifications!
- How can we change the text in the game to say something other than Pong?
-
- How can we make the ball a different size?
- How can we make the ball go faster or slower? [Hint: look in ProjectileTracker.java]
- How can we make the ball simulate gravity?
- How can we make the paddles rectangles instead of circles?
- How can we add another ball?
- Make a sound when a ball hits a paddle?
- Make the ball our own custom sprite?