An example of my comments in Unreal Engine 5's blueprint scripting language. Pink denotes a problem, yellow a solution, green an actual comment I'll keep. Splines are a series of nodes connected by a ribbon that can be used in all manor of ways in gamedev. In pink: we can't just delete the spline because the whole point was that we can reuse it. In pink: do we have a movement spline and a path spline? In pink: when you delete spline points, does that change the index of the rest or does the spline just start at e.g. 4? In pink: can we stop the PCG from drawing both? In yellow: yes, with a tag: TurnMovementsSpline. In green: after we delete the spline points, we need to move the last spline point to the correct spline point so the spline doesn't lose its shape. In yellow: assuming index 0 is the start where the king is. In pink: what if we always just delete the spline points -1 and move that last one! Fixes some edge cases. In pink: we should remove the part of the spline that we save for the current path from the remaining path. Sidenote: Why am I writing as if I'm addressing a team instead of just me?
I almost forgot about the final place where I design.. in the blueprints of the project itself.
It gets weird quickly when I narrate the issues I'm having with UE5 features and come up with potential solutions. Rubber duck anyone?
When I solve it, I take Great satisfaction in deleting these rants.