Thursday, 14 April 2016

Unreal engine Pong


What I Used:

I used red nodes which were used for Event.

I used Blue nodes which wee for functions.

Once I connected my input node to my function nodes I grouped them together and then highlighted all the nodes and right clicked the red node and clicked 'create comment from collection' on the drop down.
Pressing T initiates the print string function which when activated will display the text 'Triggered' onto the screen. Once T is released the text 'Hello' will be shown. They are connect via strings.



Pawn - A pawn is an actor that can be 'Possessed' and receive input from controller.

BP_Ball


BP_Ball (Scoring system and sound)



BP_Paddle_Pawn_R


BP_EnemyPaddle


I had an issue where my barriers where to flush with my paddles which would cause them to spin of axis when they come into contact with the boundaries. To solve this I made the invisible boundary which stops the ball and paddle from going higher then a certain point just below the boundaries, this prevents the paddle from coming into contact with the paddle. This has however created a new error, the paddle gets stuck at the top and bottom of the screen for a few seconds when they reach the boundaries but this is better then them spinning out of control. 

Audio files, you just click and rag them from the finder into the content browser



Here is my finished working game. The score limit is set to 10, once on of the players win text appears congratulating the winning game and then the level is reset.


Link to the tutorials - https://www.youtube.com/watch?v=0Cmr4maZEyY&list=PLSfh6YsA0Lhu8r5xVSp5pnMziDkdt-vrW&index=1





No comments:

Post a Comment