Adding Class Functionality and Widgets


Update to the game project for my coding 1 class.

This week we focused on Widgets. These were used to add functionality to the main menu and pause menu of our games. Widgets are used to add UI to the screen and each has their own blueprints that can add functionality to the buttons and other elements of the screen.

Widgets also add nice effects to the UI. For instance, the pause menu includes a semitransparent black background and some blur to keep things readable and refined.

Another aspect of programming that we've learned is classes. We've added item classes that have their own attack, name, and element stats. This way we can create sub classes that inherit these variables. Classes can also inherit other important aspects such as functions. This is an important concept in c++ to make code as light weight as functional as possible.

Class functionality is unfortunately not shown in the video as I forgot how GitHub works. It's just text anyway. However, it is in the build uploaded to the project.

Files

Coding1Unreal.zip 426 MB
Apr 17, 2024

Get Coding 1 Spring 2024 Project

Leave a comment

Log in with itch.io to leave a comment.