Blueprints
Unreal engine 4 blueprints
Today started the development of the coding side of the main game, in this case it is the use of blueprints within Ue4 what is a more simplified version of regular coding within the engine but still can be versatile like regular coding but mainly uses blocks what connect together and at the end make a function happen.
What are blueprints?
Blueprints is one of the options of coding your game within the Unreal engine 4 engine where each blueprint block is actually a line of C++ coding which is the main form of coding used within the UE4 engine, The user is able to do a lot of things with this but it can get confusing at points with the large learning curve that has been put in place but it also is easy to learn if you take some inspiration that has been put in place via the templates provided or with some official tutorials online. This is also an easier way of getting into the engine if the user has just come off another engine like Unity for example that uses C+ and want's to get to know the layout of the engine while also learning the main coding language of C++.
What are blueprints?
Blueprints is one of the options of coding your game within the Unreal engine 4 engine where each blueprint block is actually a line of C++ coding which is the main form of coding used within the UE4 engine, The user is able to do a lot of things with this but it can get confusing at points with the large learning curve that has been put in place but it also is easy to learn if you take some inspiration that has been put in place via the templates provided or with some official tutorials online. This is also an easier way of getting into the engine if the user has just come off another engine like Unity for example that uses C+ and want's to get to know the layout of the engine while also learning the main coding language of C++.
Player Blueprints
Simple Blueprint of Player Crouching
To start off with the blueprints I added some more functions to the player controls, it is mainly one simple addition and that is crouching. This was added to make sure that the player is able to crouch around in the vents what will be apart of the main level design. This was done by enabling crouching within the template and making a simple block saying when crouch is pressed the player will crouch down. Other coding what might be added to the player in the future might be a sprint button.
Enemy Blueprints
Blueprint of the AI patrolling
The enemy has also started to be in development with just a simple AI script to allow the enemy to patrol the area by moving between two points. the code basically will say to the AI to move towards one point placed down and then after it reaches the point the enemy will wait for one second and then move towards the next point with another wait time then repeat. The next steps for the enemy is to implement Death and finally the player spotted feature.
Comparison with Unity
This coding style is very different to how unity will just use C# but it gives a more simple option to people who are basically beginners to coding but still requires a learning curve in order to produce very complicated functions. Blueprints don't really limit the user because it can basically produce anything if the user knows how to do it but it is a good thing to start off with before going into the main code Ue4 uses what is C++
Next blog post will cover further development onto the game
Comments
Post a Comment