How to Make New Features

Tags
UnrealResourceEngineeringWorkflow
Owner
Justin Nearing

Today I’m going to implement the following YouTube Tutorial:

This is in relation to

I have setup a Quartz Clock, and now need to connect it to all objects in the world that needs the clock. In order to do this, I need to modify the GameMode and GameState to set and retain the Quartz ClockHandle.

However, I want to do this as a tutorial on making new features- all the extra stuff you have to do in order to have something implemented. We call it a workflow.

Developers that optimize their workflow are more efficient.

Developers with consistent workflows are more efficient.

Be an efficient Developer.

Step 1: Have a Clue

Before you do anything, and I mean way before you open your preferred code editor, just take like, a moment or seven to get yourself a clue.

Like, what are you really trying to achieve here?

No, I mean specifically.

In my case, the goal I’m trying to achieve is to stick a Quartz ClockHandle into Unreal’s GameState. From my limited research, blueprints can easily access GameState, and so objects set in GameState should be easily read by other object who need that information.

Step 2: Git your source control under control

Before you start working on the thing, make sure you are on a new branch on the most up-to-date version of your code.

If you don’t do branching because you use perforce. Like cool, I guess, figure it out.

If you don’t have source control, stop not having it.

git bash on OSX is a beautiful, versatile, usable thing. On windows it is garbage jank and the GUI is better. But I want to be a real dev and real devs use terminals and vim and unironic mustaches.
git bash on OSX is a beautiful, versatile, usable thing. On windows it is garbage jank and the GUI is better. But I want to be a real dev and real devs use terminals and vim and unironic mustaches.

Make sure you start clean and create a new branch.

Now when you hang yourself, you can just nuke from orbit.

Always give yourself the option to nuke from orbit.