Unreal Engine Learning
On Friday, we made the decision to use Unreal Engine for our project, even though I have no prior experience with it. Therefore, over the weekend, I used my time to learn the basics of Unreal Engine and create some test demos on a personal project.
Most of the learning time this weekend focused on getting familiar with Unreal Engine's interface and the use of blueprints. Admittedly, in just a few days, I still don't have enough confidence to use Unreal well, at least not like using Unity. However, I am eager to continue learning and exploring the capabilities of this popular game engine.
Over the weekend, in addition to troubleshooting some minor issues with installing Unreal, I also used the time to learn about blueprints by creating interactive objects on a game screen. I tried various tasks including doors that can be opened and closed, implementing a health bar UI, creating a football game, and the game character wearing a hat. These hands-on exercises gave me some experience and understanding of how to use Unreal blueprint.
Interactive Objects Implementation for Learning Unreal
- Door
- This is what I did at the beginning. The main way to implement it is to detect whether the player is in the collision box I set. If so, allow the player to interact, and finally rotate the door in a Z dimension.
- Hat Pick up
- The same principle is used for picking up hats. When the player is close to the collision box I set, interaction is allowed. Finally, the hat is generated on the head of the game character.
- It should be noted that it is necessary to adjust the position where the hat is generated (it was always generated on the stomach at the beginning), and this part needs to be adjusted on the skeleton of the game character.
- Soccer Game
- The football game is also based on a similar principle. First, the goal and the ball are two different blueprints. Second, I need to turn on the physical controls of the ball so that the game character can interact with it.
- Detect that if the ball enters the collision box of the goal, it is considered a goal and the ball will be eliminated. After 2 seconds a new ball will be spawned at the original position.
- Health Bar UI
- The health bar UI is something that I find difficult to do when I am currently learning Unreal. First of all, I created two collision boxes, one is used to damage the player, and the other is used to heal the player. Both blueprints use the same logic to run. When the game character is inside the collision box, it will continuously get damaged or get healed.
Comments
Post a Comment