I am continuing the development of a simple Pong game using Unreal Engine in C++.
Main Menu
I have setup a new UMG widget for the main menu. This simple widget contains two buttons to start a One Player game and to quit. This widget is displayed in a new Map named Menu:
This map contains 2 PaddleAI playing against each other.
Audio
I have added 2 sound files for the ball. I have also modified the Ball.h file to declare new BlueprintNativeEvent: OnHitObject and OnHitGoal.
Then I have created a blueprint for the ball to implement these events and play the sound.
Next
Next I will end the game when the game is over and display the main menu.
Leave a Reply