netbeetle.com

Current Projects

These are some programming projects that I am currently working on.

SpaceBattle, Pool, and Physics2D
I am working on these three projects somewhat concurrently, but so far most of my time has been spent on the physics engine, the Physics2D package. When the physics engine is finally done, and meets my standards for realism, the SpaceBattle and Pool games should not be far behind. The Pool class is not a game yet, it merely shows balls in collisions. This is very useful in diagnosing problems with the physics2D package, running Pool for a few minutes will show numerous problems, mostly during the break. The SpaceBattle class is a little more complete, it gives the user control of a spaceship flying around a star. Eventually the ships will engage in combat. It is my goal to have a multiplayer network game complete before the end of the summer. UPDATE - The physics engine has been revamped to use vectors in a more effective way. This also makes it possible for this physics engine to be made three dimensional with only the addition of another dimension to the vector class. No other changes should be necessary. Although I have given up on my multiplayer SpaceBattle game in Java, it may eventually happen in C++, which I am in the process of learning. See the new physics model in action in the executable jar file. Click anywhere on the screen to make the cue ball move. The farther away, the faster it goes. Because edge behavior is not yet modeled directly in the physics classes, some undefined behavior can occur at high speeds. So, it is best to click relatively close to the white ball.
Java Source Files: class physics2D.Object2D | class physics2D.Plane2D | class physics2D.Vector2D | class Pool (main) | class PoolTable | class Ball | class SpaceBattle (main) | class Space | class SpaceShip | class Star | interface Drawable
Executable JAR