3D Slime Volleyball
by Alex Reid
|
Overview
-
For my final project, I decided to try and re-do a fun online game called Slime Volleyball in 3D. I used to play this game a lot,
which is originally done in 2D, so I thought it would be fun as a 3D game too.
Results/Problems
The major problem that I ran into was modeling the ball's physics in 3D. The ball's physics was slightly more complicated than I had originally figured since collision detection and how the ball reflects off things become harder when there are multiple objects moving. This was my major problem since without a ball there is no real gameplay.
Some things I did like were the different camera angles, especially the side view and the first person view, since the side view changes the controls and first person moves the camera along with the player. I implemented two windows (or screens) since I thought it would be easier for 2 players to play in 3D, both with their own camera view.
There was a lot of hierarchical modeling that went into making the scene. Also, all movements are done with velocities and objects jump with gravity pulling them back down.
Program
Download the executable.
Player 1 Controls (Left Side):- Forward: w (or a, depending on view)
- Backwards: s (or d, depending on view)
- Left: a (or s, depending on view)
- Right: d (or w, depending on view)
- Jump: Spacebar
- Change View: e
Player 2 Controls:
- Forward: i (or j, depending on view)
- Backwards: k (or l, depending on view)
- Left: j (or k, depending on view)
- Right l (or i, depending on view)
- Jump: m
- Change View: o
Quit: q
Screenshots
1st Camera View for both players |
2nd Camera View for both players |
Side Camera View |
First Person View for both players |
Resources