Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Programing an applet game of Pong

Share this post!
 Vote this!

This article will cover the process from start to finish with special attention to certain topics that are relevant to all Game Programming in Java.

Let's begin.

The first step to developing a game is to figure out what pieces we will need to create. Pong is composed of two paddles and a ball. I'm thinking that it is going to be a 500 by 300 applet We are going to make three classes that will handle all of the characteristics of these three parts. There is going to be one human controlled paddle, one computer controlled paddle, and of course, the ball

Here we have the human-controlled paddle, or PaddleLeft class:  more...

0 comments:

Post a Comment