Almost Volleyball

Almost Volleyball

Over spring break I challenged myself with the task of creating my own engine in C++ to further my knowledge of the back workings of engines along with furthering my understanding of C++.


Collision

Almost Volleyball used an AABB approach for basic collision with ball. After adding in velocity changes for when the ball collides and bouncing off the player a certain direction based off how far away from the players center. This approach was found to be efficient and easily expandable for my case.

Animations

One feature that I did want to implement into my engine was a basic animation system. I did this through creating an animation manager which could hold frames of the character and could cycle through them when indicated. I am really pleased with this additional feature that I added as it brought the visual element of hitting the ball together.

AI Implementation

I found when creating the AI for Almost Volleyball that the most difficult part of the process was creating an AI that was not too difficult to beat. I created two variations of the AI. The first was simple and just tried to be on the same Y level as the ball. The second was more challenging as it tried to match the velocity of the ball.


Leave a Reply

Your email address will not be published. Required fields are marked *