Sunday, May 5, 2019

Week 05: Jumping Right into Unreal C++!

Making the switch from Unity C# to Unreal proved to be very challenging, like learning an alien language. Sure, Unity and Unreal are both modern game engines that do almost exactly the same thing. The arrangement of their interfaces (in terms of graphical UI) are almost identical. The main difference is that one engine is for making high-end games, the other one is for making low-cost, low performance games. C# and C++ are both derivatives of the C language, so one may assume that making the jump from Unity C# to Unreal C++ is very easy. It is not. Unity C# is very minimalistic, all the programmer needs to do is write some include statements, declare some variables, and maybe write some functions. A newly created script in Unreal C++ comes with more moving parts right out of the box, already integrated with the engine, and requires more use of C++ syntax that is not required to create a script in Unity C#. Overall, coding in Unreal C++ has more complexities that Unity C# does not have.

That being said, I have no tech demo available for this week. I have merely managed to make a game object move in four directions, forward, backward, left, and right. In future weeks, I will focus on creating a more elaborate character controller, and perhaps moving NPC characters, and scripted events in a game environment.

Here is my code.





No comments:

Post a Comment