A downloadable game

Source Code

Programmed in C++ using Unreal Engine 5

Alert Ball is a game inspired by Anthony Gormley's "Alert" sculpture.  I used the shape of the statue to put an exciting twist on the football genre; by swinging the "knees" of the statue you can interact with a football. This adds an interesting challenge because you can only hit the ball sideways relative to the character, adding a certain skill in getting the ball to go where you'd like!

This game has multiplayer implemented, allowing lobby creation and browsing as well as a cosmetics menu with easy-to-add buttons for more cosmetics down the line! 

How to play

First, get a friend, then launch the game and log in with your Epic online account. One of you can create a session and the other can find the session by refreshing the game browser, selecting the game hosted by your friend and clicking join.

Project Highlights

AlertCharacter

Source Code
The alert character class inherits from the unreal character class allowing the player to possess an instance of this actor.

This character class handles player input and the alert mesh that moves in the level.

EOS_GameInstance

Source Code
The game instance is a great place to store code that can be accessed anywhere in an instance of the game, meaning stick an actor in a level for example. The game instance here is used to handle EOS calls to create and join sessions and travel to the correct map once a session has been joined. 

Menu_PlayerController

Source Code
I decided to have different game modes for the main menu and for in-game, allowing for different player controllers with functions relevant to the context. Appropriately, the menu player controller creates and handles the main menu widgets which are in turn connected to a widget switcher enabling easy switching between sub-menus. 

MyUtility

Source Code
In order to avoid writing the same code for error-checking when sending information between classes and fetching objects, I created a utility class for returning certain objects in the game world with just a single call that has error-checking built in. 

Leave a comment

Log in with itch.io to leave a comment.